This submodule contains utility functions related to plotting of the compositional data.
Navigation: nimplex (core library) | docs/changelog | utils/plotting | utils/stitching
Procs
proc simplex2cartesian(simplexPoints: Tensor[float]): Tensor[float] {. ...raises: [ValueError], tags: [], forbids: [].}
- Converts Arraymancer Tensor[float] of simplexPoints with fractional coordinates (e.g., from grid or random sampling) to points in a cartesian space (within unit n-sphere) for purposes of plotting in the much more common cartesian space. Defined for 1, 2, 3, and 4-component simplexes corresponding to 0D, 1D, 2D, and 3D spaces respectively. Source Edit