Matrix results for barycentric co-ordinates #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
Results about the matrix of barycentric co-ordinates for a family of points in an affine space, with respect to some affine basis.
Given an affine basis p
, and a family of points q : ι' → P
, this is the matrix whose
rows are the barycentric coordinates of q
with respect to p
.
It is an affine equivalent of basis.to_matrix
.
Given a family of points p : ι' → P
and an affine basis b
, if the matrix whose rows are the
coordinates of p
with respect b
has a right inverse, then p
is affine independent.
Given a family of points p : ι' → P
and an affine basis b
, if the matrix whose rows are the
coordinates of p
with respect b
has a left inverse, then p
spans the entire space.
A change of basis formula for barycentric coordinates.
See also affine_basis.to_matrix_inv_mul_affine_basis_to_matrix
.
A change of basis formula for barycentric coordinates.
See also affine_basis.to_matrix_vec_mul_coords
.
If we fix a background affine basis b
, then for any other basis b₂
, we can characterise
the barycentric coordinates provided by b₂
in terms of determinants relative to b
.