Barycentric coordinates as affine functions on the whole space #
For an affinely independent finite set s, the barycentric coordinates of a point of its affine
span are affine functions on that span. They extend to affine functions on the whole space, which
is what the radial arguments of the sphere theorems use: a polytope in the affine span of s
given by inequalities on these coordinates is then described by affine functions on E.
Main results #
exists_barycentric: affine functionsw yonEwithw y (∑ z, u z • z) = u ywhenever the weightsusum to1.
theorem
Lightlike.PL.exists_barycentric
{E : Type u_1}
[AddCommGroup E]
[Module ℝ E]
(s : Finset E)
(hs : AffineIndependent ℝ Subtype.val)
:
Barycentric coordinates as affine functions on the whole space.