interpax_fft.cheb_from_dct

interpax_fft.cheb_from_dct(a, axis=-1)Source

Get discrete Chebyshev transform from discrete cosine transform.

Parameters:
  • a (jnp.ndarray) – Discrete cosine transform coefficients, e.g. a=dct(f,type=2,axis=axis,norm="forward").

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

Returns:

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