A quantized ODE solver.
Public Methods
-
qode(unsigned N)
- Create a solver for a set of N ODEs
-
qode(const qode& src)
- Copy constructor
-
const qode& operator=(const qode& src)
- Assigment operator
-
void init(const double* q0, const double* dq0)
- Initial the integrator set.
-
void init(unsigned j, double q0, double dq0 = 0.0)
- Initialize the jth integrator
-
void integ(double dt, const double* dq)
- Integrate over dt (dt <= ta()) units of time with derivatives dq.
-
void integ(double dt)
- Integrate over dt (dt <= ta()) units of time with unchanged derivatives.
-
double out(unsigned j) const
- Return the quantized output for integrator j at time tL + ta(), where tL was the time of the last state change
-
double out(unsigned j, double dt) const
- Return the quantized output for integrator j at time tL + dt, dt <= ta()
-
double qstate(unsigned j) const
- Return the quantized state of the integrator at time tL
-
double state(unsigned j) const
- Return the state of the integrator at time tL
-
double ta() const
- The time advance function for the ODE set.
-
void setParams(unsigned j, double D, double e = -1.0)
- Set the parameters for iterator j (see qintg)
-
void setParams(double D, double e = -1.0)
- Set the parameters for all integrators (see qintg)
Documentation
A quantized ODE solver. The qode uses a set of quantized integrators
to provide a solution to a set of ordinary differential equations.
qode(unsigned N)
- Create a solver for a set of N ODEs
qode(const qode& src)
- Copy constructor
const qode& operator=(const qode& src)
- Assigment operator
void init(const double* q0, const double* dq0)
-
Initial the integrator set. q0 is the initial state, dq0 are
the initial derivatives.
void init(unsigned j, double q0, double dq0 = 0.0)
- Initialize the jth integrator
void integ(double dt, const double* dq)
-
Integrate over dt (dt <= ta()) units of time with derivatives dq.
void integ(double dt)
-
Integrate over dt (dt <= ta()) units of time with unchanged derivatives.
double out(unsigned j) const
-
Return the quantized output for integrator j at time tL + ta(),
where tL was the time of the last state change
double out(unsigned j, double dt) const
- Return the quantized output for integrator j at time tL + dt, dt <= ta()
double qstate(unsigned j) const
- Return the quantized state of the integrator at time tL
double state(unsigned j) const
- Return the state of the integrator at time tL
double ta() const
- The time advance function for the ODE set.
void setParams(unsigned j, double D, double e = -1.0)
- Set the parameters for iterator j (see qintg)
void setParams(double D, double e = -1.0)
- Set the parameters for all integrators (see qintg)
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.