pub fn get_fft_processor<T: FftNum, InElem: GetProcessor<T, InElem>>() -> impl Processor<T, InElem>
Expand description
Returns a processor instance for the given input element type.
This function is a convenience wrapper around GetProcessor::get_processor()
.
§Type Parameters
T
: The FFT numeric type (typically f32 or f64)InElem
: The input element type (T
for real,Complex<T>
for complex)
§Example
use ndarray_conv::conv_fft::processor::get as get_processor;
// Get a processor for f32 real values
let mut proc = get_processor::<f32, f32>();
// Get a processor for Complex<f32> values
use num::Complex;
let mut proc_complex = get_processor::<f32, Complex<f32>>();