jax.scipy.fft.idct

Contents

jax.scipy.fft.idct#

jax.scipy.fft.idct(x, type=2, n=None, axis=-1, norm=None)[source]#

Computes the inverse discrete cosine transform of the input

JAX implementation of scipy.fft.idct().

Parameters:
  • x (Array) – array

  • type (int) – integer, default = 2. Currently only type 2 is supported.

  • n (int | None) – integer, default = x.shape[axis]. The length of the transform. If larger than x.shape[axis], the input will be zero-padded, if smaller, the input will be truncated.

  • axis (int) – integer, default=-1. The axis along which the dct will be performed.

  • norm (str | None) – string. The normalization mode. Currently only "ortho" is supported.

Returns:

array containing the inverse discrete cosine transform of x

Return type:

Array

See also