Function validate_fft_size
Source pub fn validate_fft_size(inputsize: usize, n: Option<usize>) -> FFTResult<usize>
Expand description
Validate FFT arguments and determine output size
§Arguments
input_size
- The size of the input data
n
- The requested output size (optional)
§Returns
The validated FFT size
§Errors
Returns an error if the input size is zero or n is zero