dreye.barycentric_to_cartesian#
- dreye.barycentric_to_cartesian(X, center=False)[source]#
Convert from barycentric coordinates to cartesian coordinates
- Parameters:
- Xnp.ndarray
Input array with points in barycentric coordinates.
- centerbool, optional
If True, center the coordinates, by default False
- Returns:
- np.ndarray
The input array converted to cartesian coordinates.