pub struct Butterfly48Avx<T> {
twiddles: [__m256; 9],
twiddles_butterfly3: __m256,
twiddles_butterfly4: Rotation90<__m256>,
direction: FftDirection,
_phantom_t: PhantomData<T>,
}Fields§
§twiddles: [__m256; 9]§twiddles_butterfly3: __m256§twiddles_butterfly4: Rotation90<__m256>§direction: FftDirection§_phantom_t: PhantomData<T>Implementations§
Source§impl Butterfly48Avx<f32>
impl Butterfly48Avx<f32>
pub fn is_supported_by_cpu() -> bool
pub fn new(direction: FftDirection) -> Result<Self, ()>
Source§impl Butterfly48Avx<f32>
impl Butterfly48Avx<f32>
unsafe fn new_with_avx(direction: FftDirection) -> Self
Source§impl<T> Butterfly48Avx<T>
impl<T> Butterfly48Avx<T>
unsafe fn perform_fft_f32(&self, buffer: impl AvxArrayMut<f32>)
Trait Implementations§
Source§impl<T> Direction for Butterfly48Avx<T>
impl<T> Direction for Butterfly48Avx<T>
Source§fn fft_direction(&self) -> FftDirection
fn fft_direction(&self) -> FftDirection
Returns FftDirection::Forward if this instance computes forward FFTs, or FftDirection::Inverse for inverse FFTs
Source§impl<T: FftNum> Fft<T> for Butterfly48Avx<f32>
impl<T: FftNum> Fft<T> for Butterfly48Avx<f32>
Source§fn process_immutable_with_scratch(
&self,
input: &[Complex<T>],
output: &mut [Complex<T>],
_scratch: &mut [Complex<T>],
)
fn process_immutable_with_scratch( &self, input: &[Complex<T>], output: &mut [Complex<T>], _scratch: &mut [Complex<T>], )
Divides
input and output into chunks of self.len(), and computes a FFT on each chunk while
keeping input untouched. Read moreSource§fn process_outofplace_with_scratch(
&self,
input: &mut [Complex<T>],
output: &mut [Complex<T>],
_scratch: &mut [Complex<T>],
)
fn process_outofplace_with_scratch( &self, input: &mut [Complex<T>], output: &mut [Complex<T>], _scratch: &mut [Complex<T>], )
Divides
input and output into chunks of size self.len(), and computes a FFT on each chunk. Read moreSource§fn process_with_scratch(
&self,
buffer: &mut [Complex<T>],
_scratch: &mut [Complex<T>],
)
fn process_with_scratch( &self, buffer: &mut [Complex<T>], _scratch: &mut [Complex<T>], )
Source§fn get_inplace_scratch_len(&self) -> usize
fn get_inplace_scratch_len(&self) -> usize
Returns the size of the scratch buffer required by
process_with_scratch Read moreSource§fn get_outofplace_scratch_len(&self) -> usize
fn get_outofplace_scratch_len(&self) -> usize
Returns the size of the scratch buffer required by
process_outofplace_with_scratch Read moreSource§fn get_immutable_scratch_len(&self) -> usize
fn get_immutable_scratch_len(&self) -> usize
Returns the size of the scratch buffer required by
process_immutable_with_scratch Read moreAuto Trait Implementations§
impl<T> Freeze for Butterfly48Avx<T>
impl<T> RefUnwindSafe for Butterfly48Avx<T>where
T: RefUnwindSafe,
impl<T> Send for Butterfly48Avx<T>where
T: Send,
impl<T> Sync for Butterfly48Avx<T>where
T: Sync,
impl<T> Unpin for Butterfly48Avx<T>where
T: Unpin,
impl<T> UnsafeUnpin for Butterfly48Avx<T>
impl<T> UnwindSafe for Butterfly48Avx<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more