mlx.core.fft.irfft#
- irfft(a: array, n: int | None = None, axis: int = -1, norm: str = 'backward', stream: Stream | mlx.core.ThreadLocalStream | Device | None = None) array#
The inverse of
rfft().The output has the same shape as the input except along
axisin which case it has sizen.- Parameters:
a (array) – The input array.
n (int, optional) – Size of the transformed axis. The corresponding axis in the input is truncated or padded with zeros to match
n // 2 + 1. The default value isa.shape[axis] // 2 + 1.axis (int, optional) – Axis along which to perform the FFT. The default is
-1.norm (str, optional) – One of
"backward","ortho", or"forward". Default is"backward".
- Returns:
The real array containing the inverse of
rfft().- Return type: