pub struct GPUSparseFFT { /* private fields */ }
Expand description
GPU-accelerated sparse FFT processor
Implementations§
Source§impl GPUSparseFFT
impl GPUSparseFFT
Sourcepub fn new(config: GPUSparseFFTConfig) -> Self
pub fn new(config: GPUSparseFFTConfig) -> Self
Create a new GPU-accelerated sparse FFT processor with the given configuration
Sourcepub fn with_default_config() -> Self
pub fn with_default_config() -> Self
Create a new GPU-accelerated sparse FFT processor with default configuration
Sourcepub fn get_device_info(&mut self) -> FFTResult<String>
pub fn get_device_info(&mut self) -> FFTResult<String>
Get GPU device information
Sourcepub fn sparse_fft<T>(&mut self, signal: &[T]) -> FFTResult<SparseFFTResult>
pub fn sparse_fft<T>(&mut self, signal: &[T]) -> FFTResult<SparseFFTResult>
Perform GPU-accelerated sparse FFT on a signal
Sourcepub fn batch_sparse_fft<T>(
&mut self,
signals: &[Vec<T>],
) -> FFTResult<Vec<SparseFFTResult>>
pub fn batch_sparse_fft<T>( &mut self, signals: &[Vec<T>], ) -> FFTResult<Vec<SparseFFTResult>>
Perform batch processing of multiple signals
Auto Trait Implementations§
impl Freeze for GPUSparseFFT
impl RefUnwindSafe for GPUSparseFFT
impl Send for GPUSparseFFT
impl Sync for GPUSparseFFT
impl Unpin for GPUSparseFFT
impl UnwindSafe for GPUSparseFFT
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