Package-level declarations
Functions
Generates a uniformly distributed value within the SimplexRange2D.
Generates a uniformly distributed value within the 3D simplex range.
Generates a uniformly distributed value within the 4D simplex range using a random generator.
Generates a random point within the simplex represented by the SimplexRange2D
, forming an interpolation of the three control points x0
, x1
, x2
using a weighted random combination normalized to sum to 1.
Generates a random point within the simplex represented by the SimplexRange3D
, forming an interpolation of the four control points using a weighted random combination normalized to sum to 1.
Generates a random point within the simplex represented by the SimplexRange4D
, forming an interpolation of the five control points using a weighted random combination normalized to sum to 1.
Generates a uniformly distributed value within the SimplexRange2D.
Generates a random value within the convex hull of the elements in the list using a uniform distribution over the simplex formed by the elements, optionally applying bias to the distribution.