rfft(a, n=None, axis=-1, norm=None)¶
Compute the one-dimensional FFT for real input.
- a (cupy.ndarray) – Array to be transform.
- n (None or int) – Number of points along transformation axis in the
input to use. If
nis not given, the length of the input along the axis specified by
- axis (int) – Axis over which to compute the FFT.
- norm (None or
"ortho") – Keyword to specify the normalization mode.
The transformed array which shape is specified by
nand type will convert to complex if the input is other. The length of the transformed axis is