Matrix.of_pow_mul_inv_vandermonde
Library · theorem
Power rows times the inverse Vandermonde matrix: for distinct nodes \mathbf{v}_0, \dots, \mathbf{v}_{t-1} with Lagrange basis polynomials \ell_i and Vandermonde matrix \mathbf{V} = (\mathbf{v}_i^j), and any points y_a, \bigl(y_a^{\,j}\bigr)_{a,\,j < t}\,\mathbf{V}^{-1} = \mathbf{L}\,,\qquad \mathbf{L}_{ai} = \ell_i(y_a)\,.
Matrix.of_pow_mul_inv_vandermonde.{u_1, u_2} {F : Type u_1} [Field F] {t : ℕ} {α : Type u_2}
{v : Fin t → F} (hv : Function.Injective v) (y : α → F) :
(of fun a j ↦ y a ^ ↑j) * (vandermonde v)⁻¹ =
of fun a i ↦ Polynomial.eval (y a) (Lagrange.basis Finset.univ v i)Import NLAlib.ForMathlib.LinearAlgebra.Vandermonde.