Matrix results for barycentric co-ordinates #
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.toMatrix
.
Equations
- AffineBasis.toMatrix b q i j = (AffineBasis.coord b j) (q i)
Instances For
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 AffineBasis.toMatrix_inv_vecMul_toMatrix
.
A change of basis formula for barycentric coordinates.
See also AffineBasis.toMatrix_vecMul_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
.