interpax_fft.dct_from_cheb

interpax_fft.dct_from_cheb(cheb, axis=-1)Source

Get discrete cosine transform from discrete Chebyshev transform.

Parameters:
  • cheb (jnp.ndarray) – Discrete Chebyshev transform coefficients, e.g.``cheb_from_dct(a)``.

  • axis (int) – Axis along which to transform.

Returns:

a (jnp.ndarray) – Chebyshev coefficients along axis.