Base class for implementing differential equations. More...
#include <numeric.h>
Public Member Functions | |
| DiffEq () | |
| Constructor. | |
| virtual | ~DiffEq () |
| Virtual destructor. | |
| virtual StateVector | derivative (StateVector v)=0 |
| Pure virtual function returning the derivative based on the current state. More... | |
Base class for implementing differential equations.
Class represents a differential equation of the form dy/dx = f(x, y) The (x, y) forms a state vector, which is passed to the derivative method, corresponding to the function f.
|
pure virtual |
1.8.3.1