egttools.analytical.utils.check_if_point_in_unit_simplex¶
- check_if_point_in_unit_simplex(point, delta=1e-12)[source]¶
Check whether a point (in barycentric coordinates) lies inside the unit simplex.
A point is considered inside the simplex if the sum of its coordinates is approximately 1 and each coordinate is between 0 and 1 within a specified tolerance.
- Parameters:
- Returns:
True if the point is inside the unit simplex, False otherwise.
- Return type: