Matrix.inv_vandermonde
Library · theorem
The inverse of a Vandermonde matrix: for distinct nodes \mathbf{v}_0, \dots, \mathbf{v}_{t-1} with Lagrange basis polynomials \ell_i, the inverse of \mathbf{V} = (\mathbf{v}_i^j) has the coefficients of \ell_i as its column i, \bigl(\mathbf{V}^{-1}\bigr)_{ji} = [X^j]\,\ell_i\,, so \sum_j \mathbf{c}_j(\mathbf{V}^{-1})_{ji} is \ell_i applied to whatever the \mathbf{c}_j are the powers of (a number, a matrix, a matrix times a vector).
Matrix.inv_vandermonde.{u_1} {F : Type u_1} [Field F] {t : ℕ} {v : Fin t → F}
(hv : Function.Injective v) :
(vandermonde v)⁻¹ = of fun j i ↦ (Lagrange.basis Finset.univ v i).coeff ↑jImport NLAlib.ForMathlib.LinearAlgebra.Vandermonde.