Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Jul 17, 2023
1 parent ec5f9ef commit 39ca319
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/periodic_wave.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::node::TABLE_LENGTH_USIZE;
/// Options for constructing a [`PeriodicWave`]
#[derive(Debug, Default, Clone)]
pub struct PeriodicWaveOptions {
/// The real parameter represents an array of cosine terms of Fourrier series.
/// The real parameter represents an array of cosine terms of Fourier series.
///
/// The first element (index 0) represents the DC-offset.
/// This offset has to be given but will not be taken into account
Expand All @@ -18,7 +18,7 @@ pub struct PeriodicWaveOptions {
/// The following elements (index 1 and more) represent the fundamental and
/// harmonics of the periodic waveform.
pub real: Option<Vec<f32>>,
/// The imag parameter represents an array of sine terms of Fourrier series.
/// The imag parameter represents an array of sine terms of Fourier series.
///
/// The first element (index 0) will not be taken into account
/// to build the custom periodic waveform.
Expand Down Expand Up @@ -79,8 +79,8 @@ impl PeriodicWave {
///
/// # Arguments
///
/// * `real` - The real parameter represents an array of cosine terms of Fourrier series.
/// * `imag` - The imag parameter represents an array of sine terms of Fourrier series.
/// * `real` - The real parameter represents an array of cosine terms of Fourier series.
/// * `imag` - The imag parameter represents an array of sine terms of Fourier series.
/// * `constraints` - The constraints parameter specifies the normalization mode of the `PeriodicWave`
///
/// # Panics
Expand Down

0 comments on commit 39ca319

Please sign in to comment.