class qode

A quantized ODE solver.

Public Methods

[more] qode(unsigned N)
Create a solver for a set of N ODEs
[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 init(unsigned j, double q0, double dq0 = 0.0)
Initialize the jth integrator
[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(unsigned j) const
Return the quantized output for integrator j at time tL + ta(), where tL was the time of the last state change
[more]double out(unsigned j, double dt) const
Return the quantized output for integrator j at time tL + dt, dt <= ta()
[more]double qstate(unsigned j) const
Return the quantized state of the integrator at time tL
[more]double state(unsigned j) const
Return the state of the integrator at time tL
[more]double ta() const
The time advance function for the ODE set.
[more]void setParams(unsigned j, double D, double e = -1.0)
Set the parameters for iterator j (see qintg)
[more]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.
o qode(unsigned N)
Create a solver for a set of N ODEs

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 are the initial derivatives.

ovoid init(unsigned j, double q0, double dq0 = 0.0)
Initialize the jth integrator

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(unsigned j) const
Return the quantized output for integrator j at time tL + ta(), where tL was the time of the last state change

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

odouble qstate(unsigned j) const
Return the quantized state of the integrator at time tL

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

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

ovoid setParams(unsigned j, double D, double e = -1.0)
Set the parameters for iterator j (see qintg)

ovoid 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++.