pub struct DispatchFftOutput {
pub data: Vec<Complex64>,
pub used_gpu: bool,
pub n_stages: u32,
}Expand description
Output produced by fft_auto_dispatch.
Fields§
§data: Vec<Complex64>Complex-valued FFT result (length equals the padded power-of-two input size when zero-padding was applied).
used_gpu: booltrue if the computation was offloaded to a GPU back-end;
false means the CPU pipeline was used.
n_stages: u32Number of Cooley-Tukey butterfly stages (= log₂(n)).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DispatchFftOutput
impl RefUnwindSafe for DispatchFftOutput
impl Send for DispatchFftOutput
impl Sync for DispatchFftOutput
impl Unpin for DispatchFftOutput
impl UnsafeUnpin for DispatchFftOutput
impl UnwindSafe for DispatchFftOutput
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more