From 39ca3197c8112577a19a8738322c0d52e924d021 Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Mon, 17 Jul 2023 12:51:59 +0200 Subject: [PATCH] Fix typo --- src/periodic_wave.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/periodic_wave.rs b/src/periodic_wave.rs index 638090b1..639bcc64 100644 --- a/src/periodic_wave.rs +++ b/src/periodic_wave.rs @@ -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 @@ -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>, - /// 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. @@ -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