31#ifndef _CMGRAPHS_LORENZAPPR_H_
32#define _CMGRAPHS_LORENZAPPR_H_
53 void vectorField (
double,
const double *x,
double *y,
int dim)
const;
66 const double *x,
double *y,
int dim)
const
69 throw "This model is valid in dimension 3 only.";
72 const bool reversed =
false;
80 y [0] = sigma * (x [1] - x [0]);
81 y [1] = x [0] * (rho - x [2]) - x [1];
82 y [2] = x [0] * x [1] - beta * x [2];
87 for (
int i = 0; i < dim; ++ i)
An approximate time-t map for the Lorenz equations.
void vectorField(double, const double *x, double *y, int dim) const
The vector field.
MapLorenzApprox()
The constructor of a Lorenz map object.
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.