@@ -9,7 +9,7 @@ use crate::node::TABLE_LENGTH_USIZE;
9
9
/// Options for constructing a [`PeriodicWave`]
10
10
#[ derive( Debug , Default , Clone ) ]
11
11
pub struct PeriodicWaveOptions {
12
- /// The real parameter represents an array of cosine terms of Fourrier series.
12
+ /// The real parameter represents an array of cosine terms of Fourier series.
13
13
///
14
14
/// The first element (index 0) represents the DC-offset.
15
15
/// This offset has to be given but will not be taken into account
@@ -18,7 +18,7 @@ pub struct PeriodicWaveOptions {
18
18
/// The following elements (index 1 and more) represent the fundamental and
19
19
/// harmonics of the periodic waveform.
20
20
pub real : Option < Vec < f32 > > ,
21
- /// The imag parameter represents an array of sine terms of Fourrier series.
21
+ /// The imag parameter represents an array of sine terms of Fourier series.
22
22
///
23
23
/// The first element (index 0) will not be taken into account
24
24
/// to build the custom periodic waveform.
@@ -79,8 +79,8 @@ impl PeriodicWave {
79
79
///
80
80
/// # Arguments
81
81
///
82
- /// * `real` - The real parameter represents an array of cosine terms of Fourrier series.
83
- /// * `imag` - The imag parameter represents an array of sine terms of Fourrier series.
82
+ /// * `real` - The real parameter represents an array of cosine terms of Fourier series.
83
+ /// * `imag` - The imag parameter represents an array of sine terms of Fourier series.
84
84
/// * `constraints` - The constraints parameter specifies the normalization mode of the `PeriodicWave`
85
85
///
86
86
/// # Panics
0 commit comments