mlx.core.fft.irfft

目錄

mlx.core.fft.irfft#

irfft(a: array, n: int | None = None, axis: int = -1, stream: Stream | Device | None = None) array#

rfft() 的反運算。

The output has the same shape as the input except along axis in which case it has size n.

參數:
  • 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 is a.shape[axis] // 2 + 1.

  • axis (int, optional) -- Axis along which to perform the FFT. The default is -1.

回傳:

The real array containing the inverse of rfft().

回傳型別:

array