cunumeric.fft.irfft2#

cunumeric.fft.irfft2(a: ndarray, s: Sequence[int] | None = None, axes: Sequence[int] = (-2, -1), norm: str | None = None) ndarray#

Computes the inverse of rfft2.

Parameters:
  • a (array_like) – The input array

  • s (sequence of ints, optional) – Shape of the real output to the inverse FFT.

  • axes (sequence of ints, optional) – The axes over which to compute the inverse fft. Default is the last two axes.

  • norm ({"backward", "ortho", "forward"}, optional) – Normalization mode (see numpy.fft). Default is “backward”. Indicates which direction of the forward/backward pair of transforms is scaled and with what normalization factor.

Returns:

out – The result of the inverse real 2-D FFT.

Return type:

ndarray

Notes

This is really irfftn with different defaults. For more details see irfftn. Multi-GPU usage is limited to data parallel axis-wise batching.

See also

numpy.fft.irfft2

Availability:

Multiple GPUs