A first order quantized ODE solver based on explicit Euler.
Public Methods
-
qode()
- Create a solver for an ODE
-
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 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() const
-
Return the quantized output at time tL + ta(),
where tL was the time of the last state change
-
double out(double dt) const
- Return the quantized output at time tL + dt, dt <= ta()
-
double state() const
- Return the state of the integrator at time tL
-
double qstate() const
- Get the quantized state of the integrator
-
double ta() const
- The time advance function for the ODE.
-
void setParams(double D_)
- Set the integration quantum
-
~qode()
Documentation
A first order quantized ODE solver based on explicit Euler.
qode()
- Create a solver for an ODE
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 is
the initial derivative.
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() const
-
Return the quantized output at time tL + ta(),
where tL was the time of the last state change
double out(double dt) const
- Return the quantized output at time tL + dt, dt <= ta()
double state() const
- Return the state of the integrator at time tL
double qstate() const
- Get the quantized state of the integrator
double ta() const
- The time advance function for the ODE.
void setParams(double D_)
- Set the integration quantum
~qode()
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.