# cupyx.scipy.fftpack.irfft¶

cupyx.scipy.fftpack.irfft(x, n=None, axis=- 1, overwrite_x=False)[source]

Compute the one-dimensional inverse FFT for real input.

Parameters
• x (cupy.ndarray) – Array to be transformed.

• n (None or int) – Length of the transformed axis of the output. If n is not given, the length of the input along the axis specified by axis is used.

• axis (int) – Axis over which to compute the FFT.

• overwrite_x (bool) – If True, the contents of x can be destroyed.

Returns

The transformed array.

Return type

cupy.ndarray

Note

This function does not support a precomputed plan. If you need this capability, please consider using cupy.fft.irfft() or :func: cupyx.scipy.fft.irfft.