pub fn fft_streaming<T>(
input: &[T],
n: Option<usize>,
mode: FftMode,
chunk_size: Option<usize>,
) -> FFTResult<Vec<Complex64>>
Expand description
Compute large array FFT with streaming to minimize memory usage
This function computes the FFT of a large array by processing it in chunks, which reduces the memory footprint for very large arrays.
§Arguments
input
- Input arrayn
- Length of the transformed axis (optional)mode
- Whether to compute forward or inverse FFTchunk_size
- Size of chunks to process at once
§Returns
- Result with the processed array
§Errors
Returns an error if the computation fails.