interpax_fft.idct_mmt
- interpax_fft.idct_mmt(x, a, axis=-1, vander=None)Source
Evaluate Chebyshev coefficients
aatx∈ [-1, 1].Uses matrix multiplication transform, which was benchmarked to be significantly faster than Clenshaw recursion.
- Parameters:
x (jnp.ndarray) – Real query points where interpolation is desired. Shape of
xmust broadcast with shapenp.delete(a.shape,axis).a (jnp.ndarray) – Discrete Chebyshev transform coefficients.
axis (int) – Axis along which to transform.
vander (jnp.ndarray) – Precomputed transform matrix. If given returns
(vander*a).sum(-1).
- Returns:
fq (jnp.ndarray) – Real function value at query points.