Skip to main content

Module interpolation1d

Module interpolation1d 

Source
Expand description

1D interpolation functionality for SparseIR

This module provides efficient 1D interpolation using Legendre polynomials with pre-computed collocation matrices.

Structs§

Interpolate1D
1D interpolator with pre-computed Legendre polynomial coefficients

Functions§

evaluate_interpolated_polynomial
Evaluate interpolated polynomial at point x using coefficient vector
evaluate_legendre_basis
Evaluate Legendre polynomial basis functions at point x
interpolate_1d_legendre
1D polynomial interpolation using Legendre collocation matrix
legendre_collocation_matrix
Create Legendre collocation matrix (inverse of Vandermonde matrix)