Skip to main content

irfftn

Function irfftn 

Source
pub fn irfftn(
    spectrum: &ArrayD<Complex<f64>>,
    shape: &[usize],
) -> Result<ArrayD<f64>, ErrorsJSL>
Expand description

The inverse of rfftn (SciPy’s irfftn): shape is the shape of the real output, needed because the last axis of length n and n + 1 have the same half spectrum when n is even. Scaled so that irfftn(rfftn(x), x.shape()) = x.