egttools.numerical.numerical_¶
The numerical module contains optimized functions and classes to simulate evolutionary dynamics in large populations. This module is written in C++.
Functions
Calculates the number of possible states in a discrete simplex. |
|
Converts a discrete population configuration into a unique index. |
|
Calculates the average frequency of each strategy given a stationary distribution. |
|
Check if EGTtools was compiled with BLAS/LAPACK acceleration. |
|
Check if EGTtools was compiled with OpenMP support. |
|
Computes the replicator dynamics gradient for a 2-player game. |
|
Computes the replicator dynamics gradient for N-player games. |
|
Converts a state index into a group composition vector. |
|
Samples a discrete population state uniformly at random from the simplex. |
|
Samples a continuous strategy composition uniformly at random from the unit simplex. |
|
Vectorized computation of replicator dynamics for 3-strategy N-player games. |
Classes
Evolves a general population structure. |
|
Analytical pairwise comparison model. |
|
Numerical solver for evolutionary dynamics under the Pairwise Comparison rule. |