interpax_fft.irfft_mmt

interpax_fft.irfft_mmt(x, a, n, domain=(0, 6.283185307179586), axis=-1)Source

Evaluate Fourier coefficients a at x.

Uses matrix multiplication transform.

Parameters:
  • x (jnp.ndarray) – Real query points where interpolation is desired. Shape of x must broadcast with arrays of shape np.delete(a.shape,axis).

  • a (jnp.ndarray) – Fourier coefficients a=rfft(f,axis=axis,norm="forward").

  • n (int) – Spectral resolution of a.

  • domain (tuple[float]) – Domain over which samples were taken.

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

Returns:

fq (jnp.ndarray) – Real function value at query points.