mescla.emma.endmembers.barycentric_coordinates¶
- mescla.emma.endmembers.barycentric_coordinates(points, vertices)[source]¶
Barycentric coordinates of points with respect to a simplex.
For
k+1vertices in k dimensions this is an exact square solve, and the coordinates are the mixing ratios: the geometry of U-space and the algebra of conservative mixing are the same thing.