Skip to main content

AvxPlannerInternal

Struct AvxPlannerInternal 

Source
struct AvxPlannerInternal<A: AvxNum, T: FftNum> {
    cache: FftCache<T>,
    _phantom: PhantomData<A>,
}

Fields§

§cache: FftCache<T>§_phantom: PhantomData<A>

Implementations§

Source§

impl<T: FftNum> AvxPlannerInternal<f32, T>

Source

pub fn new() -> Self

Source

fn plan_mixed_radix_base( &self, len: usize, factors: &PartialFactors, ) -> MixedRadixPlan

Source

fn is_butterfly(&self, len: usize) -> bool

Source

fn construct_butterfly( &self, len: usize, direction: FftDirection, ) -> Arc<dyn Fft<T>> ⓘ

Source§

impl<T: FftNum> AvxPlannerInternal<f64, T>

Source

pub fn new() -> Self

Source

fn plan_mixed_radix_base( &self, len: usize, factors: &PartialFactors, ) -> MixedRadixPlan

Source

fn is_butterfly(&self, len: usize) -> bool

Source

fn construct_butterfly( &self, len: usize, direction: FftDirection, ) -> Arc<dyn Fft<T>> ⓘ

Source§

impl<A: AvxNum, T: FftNum> AvxPlannerInternal<A, T>

Source

fn plan_fft( &self, len: usize, direction: FftDirection, base_fn: impl FnOnce(&Self, usize, &PartialFactors) -> MixedRadixPlan, ) -> MixedRadixPlan

Source

fn replan_with_cache( &self, plan: MixedRadixPlan, direction: FftDirection, ) -> MixedRadixPlan

Source

fn plan_power12_power6(radix_factors: &PartialFactors) -> (u32, u32)

Source

fn plan_mixed_radix( &self, radix_factors: PartialFactors, plan: MixedRadixPlan, ) -> MixedRadixPlan

Source

fn construct_plan( &mut self, plan: MixedRadixPlan, direction: FftDirection, construct_butterfly_fn: impl FnOnce(&Self, usize, FftDirection) -> Arc<dyn Fft<T>>, inner_fft_fn: impl FnOnce(&mut Self, usize, FftDirection) -> Arc<dyn Fft<T>>, ) -> Arc<dyn Fft<T>> ⓘ

Source

fn plan_bluesteins( &self, len: usize, filter_fn: impl FnMut(&&(usize, u32, u32)) -> bool, ) -> usize

Trait Implementations§

Auto Trait Implementations§

§

impl<A, T> !RefUnwindSafe for AvxPlannerInternal<A, T>

§

impl<A, T> !UnwindSafe for AvxPlannerInternal<A, T>

§

impl<A, T> Freeze for AvxPlannerInternal<A, T>

§

impl<A, T> Send for AvxPlannerInternal<A, T>

§

impl<A, T> Sync for AvxPlannerInternal<A, T>

§

impl<A, T> Unpin for AvxPlannerInternal<A, T>
where A: Unpin,

§

impl<A, T> UnsafeUnpin for AvxPlannerInternal<A, T>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.