[−][src]Struct fourier_algorithms::Autosort
Implements a mixed-radix Stockham autosort algorithm for multiples of 2 and 3.
Implementations
impl<T, Twiddles, Work> Autosort<T, Twiddles, Work>
[src]
pub fn counts(&self) -> [usize; 5]
[src]
Return the radix counts.
pub unsafe fn new_from_parts(
size: usize,
counts: [usize; 5],
forward_twiddles: Twiddles,
inverse_twiddles: Twiddles,
work: Work
) -> Self
[src]
size: usize,
counts: [usize; 5],
forward_twiddles: Twiddles,
inverse_twiddles: Twiddles,
work: Work
) -> Self
Create a new transform generator from parts. Twiddles factors and work must be the correct size.
impl<T, Twiddles: AsRef<[Complex<T>]>, Work: AsRef<[Complex<T>]>> Autosort<T, Twiddles, Work>
[src]
pub fn twiddles(&self) -> (&[Complex<T>], &[Complex<T>])
[src]
Return the forward and inverse twiddle factors.
pub fn work_size(&self) -> usize
[src]
Return the work buffer size.
impl<T: FftFloat, Twiddles: Default + Extend<Complex<T>>, Work: Default + Extend<Complex<T>>> Autosort<T, Twiddles, Work>
[src]
pub fn new(size: usize) -> Option<Self>
[src]
Create a new Stockham autosort generator. Returns None
if the transform size cannot be
performed.
Trait Implementations
impl<Twiddles: AsRef<[Complex<f32>]>, Work: AsMut<[Complex<f32>]>> Fft for Autosort<f32, Twiddles, Work>
[src]
type Real = f32
The real type used by the FFT.
fn size(&self) -> usize
[src]
fn transform_in_place(&self, input: &mut [Complex<f32>], transform: Transform)
[src]
fn transform(
&self,
input: &[Complex<Self::Real>],
output: &mut [Complex<Self::Real>],
transform: Transform
)
[src]
&self,
input: &[Complex<Self::Real>],
output: &mut [Complex<Self::Real>],
transform: Transform
)
fn fft_in_place(&self, input: &mut [Complex<Self::Real>])
[src]
fn ifft_in_place(&self, input: &mut [Complex<Self::Real>])
[src]
fn fft(&self, input: &[Complex<Self::Real>], output: &mut [Complex<Self::Real>])
[src]
fn ifft(
&self,
input: &[Complex<Self::Real>],
output: &mut [Complex<Self::Real>]
)
[src]
&self,
input: &[Complex<Self::Real>],
output: &mut [Complex<Self::Real>]
)
impl<Twiddles: AsRef<[Complex<f64>]>, Work: AsMut<[Complex<f64>]>> Fft for Autosort<f64, Twiddles, Work>
[src]
type Real = f64
The real type used by the FFT.
fn size(&self) -> usize
[src]
fn transform_in_place(&self, input: &mut [Complex<f64>], transform: Transform)
[src]
fn transform(
&self,
input: &[Complex<Self::Real>],
output: &mut [Complex<Self::Real>],
transform: Transform
)
[src]
&self,
input: &[Complex<Self::Real>],
output: &mut [Complex<Self::Real>],
transform: Transform
)
fn fft_in_place(&self, input: &mut [Complex<Self::Real>])
[src]
fn ifft_in_place(&self, input: &mut [Complex<Self::Real>])
[src]
fn fft(&self, input: &[Complex<Self::Real>], output: &mut [Complex<Self::Real>])
[src]
fn ifft(
&self,
input: &[Complex<Self::Real>],
output: &mut [Complex<Self::Real>]
)
[src]
&self,
input: &[Complex<Self::Real>],
output: &mut [Complex<Self::Real>]
)
Auto Trait Implementations
impl<T, Twiddles, Work> !RefUnwindSafe for Autosort<T, Twiddles, Work>
impl<T, Twiddles, Work> Send for Autosort<T, Twiddles, Work> where
T: Send,
Twiddles: Send,
Work: Send,
T: Send,
Twiddles: Send,
Work: Send,
impl<T, Twiddles, Work> !Sync for Autosort<T, Twiddles, Work>
impl<T, Twiddles, Work> Unpin for Autosort<T, Twiddles, Work> where
T: Unpin,
Twiddles: Unpin,
Work: Unpin,
T: Unpin,
Twiddles: Unpin,
Work: Unpin,
impl<T, Twiddles, Work> UnwindSafe for Autosort<T, Twiddles, Work> where
T: UnwindSafe,
Twiddles: UnwindSafe,
Work: UnwindSafe,
T: UnwindSafe,
Twiddles: UnwindSafe,
Work: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,