egttools.plotting.simplex3d.gradient_to_cartesian

gradient_to_cartesian(db_dt)[source]

Project a replicator-dynamics velocity vector from Δ³ to ℝ³.

Parameters:

db_dt (array_like, shape (..., 4)) – Velocity in barycentric coordinates (db/dt from replicator equation).

Return type:

np.ndarray, shape (…, 3)