class qode

A first order quantized ODE solver based on explicit Euler.

Public Methods

[more] qode()
Create a solver for an ODE
[more] qode(const qode& src)
Copy constructor
[more]const qode& operator=(const qode& src)
Assigment operator
[more]void init(const double q0, const double dq0)
Initial the integrator set.
[more]void integ(double dt, const double dq_)
Integrate over dt (dt <= ta()) units of time with derivatives dq.
[more]void integ(double dt)
Integrate over dt (dt <= ta()) units of time with unchanged derivatives.
[more]double out() const
Return the quantized output at time tL + ta(), where tL was the time of the last state change
[more]double out(double dt) const
Return the quantized output at time tL + dt, dt <= ta()
[more]double state() const
Return the state of the integrator at time tL
[more]double qstate() const
Get the quantized state of the integrator
[more]double ta() const
The time advance function for the ODE.
[more]void setParams(double D_)
Set the integration quantum
[more] ~qode()


Documentation

A first order quantized ODE solver based on explicit Euler.
o qode()
Create a solver for an ODE

o qode(const qode& src)
Copy constructor

oconst qode& operator=(const qode& src)
Assigment operator

ovoid init(const double q0, const double dq0)
Initial the integrator set. q0 is the initial state, dq0 is the initial derivative.

ovoid integ(double dt, const double dq_)
Integrate over dt (dt <= ta()) units of time with derivatives dq.

ovoid integ(double dt)
Integrate over dt (dt <= ta()) units of time with unchanged derivatives.

odouble out() const
Return the quantized output at time tL + ta(), where tL was the time of the last state change

odouble out(double dt) const
Return the quantized output at time tL + dt, dt <= ta()

odouble state() const
Return the state of the integrator at time tL

odouble qstate() const
Get the quantized state of the integrator

odouble ta() const
The time advance function for the ODE.

ovoid setParams(double D_)
Set the integration quantum

o ~qode()


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.