cupyx.scipy.fft.idst#
- cupyx.scipy.fft.idst(x, type=2, n=None, axis=-1, norm=None, overwrite_x=False)[source]#
Return the Inverse Discrete Sine Transform of an array, x.
- Parameters:
x (cupy.ndarray) – The input array.
type ({1, 2, 3, 4}, optional) – Type of the DST (see Notes). Default type is 2.
n (int, optional) – Length of the transform. If
n < x.shape[axis]
, x is truncated. Ifn > x.shape[axis]
, x is zero-padded. The default results inn = x.shape[axis]
.axis (int, optional) – Axis along which the idst is computed; the default is over the last axis (i.e.,
axis=-1
).norm ({"backward", "ortho", "forward"}, optional) – Normalization mode (see Notes). Default is “backward”.
overwrite_x (bool, optional) – If True, the contents of x can be destroyed; the default is False.
- Returns:
idst – The transformed input array.
- Return type:
cupy.ndarray of real
See also
Notes
For full details of the DST types and normalization modes, as well as references, see
scipy.fft.dst()
.