Transformation Between Bases#
If an
On this page, we outline how the underlying theorem how such a transformation is carried out.
Theorem: Basis transformations#
Let
Lower triangular matrices
can be computed in operations, such thatwhere
and are the Lagrange coefficients and the Newton coefficients of , respectively.Upper triangular matrices
can be computed in operations, such thatwhere
denotes the canonical coefficients of .
Due to their triangular structure, the inverse matrices
Further relationships#
If the unisolvent nodes
Thus, the above theorem enables both efficient and numerically accurate
computations. Conversely, the Multidimensional Divided Difference Scheme (DDS) can be used to
interpolate the polynomial in the Lagrange basis
With respect to the canonical basis,
coincides with the classic Vandermonde matrix[1].
Moreover, the columns of
Triangular matrices
All matrices presented above are of recursive triangular sparse structure, which enables numerically accurate precomputation of the sub-matrices and helps avoid storage issues.
Consequently, the explicit structure of the matrices can be condensed into barycentric transformations, which perform much faster than classic matrix multiplication. This results in more efficient polynomial interpolation and evaluation. A preliminary implementation of these fast transformations is already utilized in Minterpy.
References