pub fn rfftn<'a>(
a: impl AsRef<Array>,
s: impl IntoOption<&'a [i32]>,
axes: impl IntoOption<&'a [i32]>,
) -> Result<Array>Expand description
n-dimensional real discrete Fourier Transform.
The output has the same shape as the input except along the dimensions in axes in which case
it has sizes from s. The last axis in axes is treated as the real axis and will have size
s[s.len()-1] // 2 + 1.
ยงParams
a: The input array. If the array is complex it will be silently cast to a real type.s: Sizes of the transformed axes. The corresponding axes in the input are truncated or padded with zeros to matchs. The default value is the sizes ofaalongaxes.axes: Axes along which to perform the FFT. The default isNonein which case the FFT is over the lastlen(s)axes or all axes ifsis alsoNone.