egttools.numerical.numerical_.vectorized_replicator_equation_n_player¶
- vectorized_replicator_equation_n_player()¶
Vectorized computation of the replicator dynamics for three-strategy N-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.
payoff_matrix (numpy.ndarray) – Two-dimensional payoff table.
group_size (int) – Number of players in each interacting group.
- Returns:
Replicator gradients for the three strategies over the grid.
- Return type:
See also
egttools.replicator_equation_n_player,egttools.vectorized_replicator_equationVectorized computation of the replicator dynamics for three-strategy N-player game objects.
- 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) – 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_n_player,egttools.vectorized_replicator_equation