cupyx.scipy.fft.irfft#
- cupyx.scipy.fft.irfft(x, n=None, axis=-1, norm=None, overwrite_x=False, *, plan=None)[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
nis not given, the length of the input along the axis specified byaxisis used.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".overwrite_x (bool) – If True, the contents of
xcan be destroyed.plan (
cupy.cuda.cufft.Plan1dorNone) –a cuFFT plan for transforming
xoveraxis, which can be obtained using:plan = cupyx.scipy.fftpack.get_fft_plan(x, n, axis, value_type='C2R')
Note that
planis defaulted toNone, meaning CuPy will use an auto-generated plan behind the scene.
- Returns:
The transformed array.
- Return type:
See also