Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #330

Merged
merged 1 commit into from
Jul 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading