pub fn update_amp(&mut self, fft: &dyn Fft<f32>){
        //use inverse
        assert_eq!(fft.fft_direction(), FftDirection::Inverse);

        let mut new_a = self.fseries.clone();
        fft.process(&mut new_a);

        self.amp = new_a;
    }
//NOTE: fft must be in correct direction before calling these
fft must be in correct direction before calling these
fft must be in correct direction before calling these
pub fn update_amp(&mut self, fft: &dyn Fft<f32>){
        //use inverse
        assert_eq!(fft.fft_direction(), FftDirection::Inverse);
        let mut new_a = self.fseries.clone();
        fft.process(&mut new_a);
        self.amp = new_a;
    }
pub fn update_amp ( & mut self , fft : & dyn Fft < f32 > ) { //use inverse assert_eq ! ( fft fft_direction ( ) FftDirection Inverse ) ; let mut new_a = self . fseries . clone ( ) ; fft . process ( & mut new_a ) ; self . amp = new_a ; }
NOTE: fft must be in correct direction before calling these
NOTE : fft must be in correct direction before calling these
&mut self
fft
&dyn Fft<f32>