egttools.numerical.numerical_.vectorized_replicator_equation¶
- vectorized_replicator_equation()¶
Vectorized computation of the replicator dynamics for three-strategy two-player games.
- Parameters:
x1 (numpy.ndarray) – Two-dimensional array containing the frequency of strategy 1 at each grid point.
x2 (numpy.ndarray) – Two-dimensional array containing the frequency of strategy 2 at each grid point.
x3 (numpy.ndarray) – Two-dimensional array containing the frequency of strategy 3 at each grid point.
game (egttools.games.AbstractReplicatorGame) – Two-player game object used to compute expected fitness values.
- Returns:
Replicator gradients for the three strategies over the grid.
- Return type:
See also
egttools.replicator_equation,egttools.vectorized_replicator_equation_n_player