pub fn irfftn_device<'a>(
a: impl AsRef<Array>,
s: impl IntoOption<&'a [i32]>,
axes: impl IntoOption<&'a [i32]>,
stream: impl AsRef<Stream>,
) -> Result<Array>
Expand description
The inverse of rfftn()
.
Note the input is generally complex. The dimensions of the input specified in axes
are padded
or truncated to match the 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.s
: Sizes of the transformed axes. The corresponding axes in the input are truncated or padded with zeros to match the sizes ins
except for the last axis which has sizes[s.len()-1] // 2 + 1
. The default value is the sizes ofa
alongaxes
.axes
: Axes along which to perform the FFT. The default isNone
in which case the FFT is over the lastlen(s)
axes or all axes ifs
is alsoNone
.