interpax_fft.irfft_mmt_pos

interpax_fft.irfft_mmt_pos(x, a, n, domain=(0, 6.283185307179586), modes=None)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,-1).

  • a (jnp.ndarray) – Fourier coefficients of non-negative frequencies.

  • n (int) – Spectral resolution of a.

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

  • modes (jnp.ndarray) – Optional frequency modes.

Returns:

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