interpax_fft.interp_dct
- interpax_fft.interp_dct(x, f, lobatto=False, axis=-1)Source
Interpolate
ftoxwith discrete Chebyshev transform.- Parameters:
x (jnp.ndarray) – Real query points where interpolation is desired. Shape of
xmust broadcast with shapenp.delete(f.shape,axis).f (jnp.ndarray) – Real function values on Chebyshev points to interpolate.
lobatto (bool) – Whether
fwas sampled on the Gauss-Lobatto (extrema-plus-endpoint) or interior roots grid for Chebyshev points.axis (int) – Axis along which to transform.
- Returns:
fq (jnp.ndarray) – Real function value at query points.