31#ifndef _CMGRAPHS_DUFAPPROX_H_
32#define _CMGRAPHS_DUFAPPROX_H_
56 void vectorField (
double,
const double *x,
double *y,
int dim)
const;
69 const double *x,
double *y,
int dim)
const
72 throw "This model is valid in dimension 2 only.";
75 const bool reversed =
false;
83 y [1] = x [0] - a * x [1] - x [0] * x [0] * x [0] +
89 for (
int i = 0; i < dim; ++ i)
An approximate time-t map for the Vanderpol equations.
MapDuffingApprox()
The constructor of a Vanderpol map object.
void vectorField(double, const double *x, double *y, int dim) const
The vector field.
This class defines a map for the nonlinear density dependent overcompensatory Leslie population model...
const double & getLeftParam(int n) const
Returns the left value of the given parameter.
A generic method for computing a time-t map for ODEs in an approximate way.