cupy.fft.irfft#
- cupy.fft.irfft(a, n=None, axis=-1, norm=None)[source]#
Compute the one-dimensional inverse FFT for real input.
- Parameters:
a (cupy.ndarray) – Array to be transform.
n (None or int) – Length of the transformed axis of the output. For
noutput points,n//2+1input points are necessary. Ifnis not given, it is determined from the length of the input along the axis specified byaxis.axis (int) – Axis over which to compute the FFT.
norm (
"backward","ortho", or"forward") – Optional keyword to specify the normalization mode. Default isNone, which is an alias of"backward".
- Returns:
The transformed array which shape is specified by
nand type will convert to complex if the input is other. Ifnis not given, the length of the transformed axis is`2*(m-1)` where m is the length of the transformed axis of the input.- Return type:
See also