Documentation
Tools for embedded systems
Loading...
Searching...
No Matches
Numerical state class

Class to compute in real-time the numerical approximations of integral and derivative operations for data values sampled periodically. More...

Classes

class  qlibs::nState
 A numerical state object. More...
 

Enumerations

enum  qlibs::integrationMethod { qlibs::INTEGRATION_RECTANGULAR , qlibs::INTEGRATION_TRAPEZOIDAL , qlibs::INTEGRATION_SIMPSON , qlibs::INTEGRATION_QUADRATIC }
 An enum with all the available integration methods. More...
 
enum  qlibs::derivationMethod { qlibs::DERIVATION_2POINTS , qlibs::DERIVATION_BACKWARD , qlibs::DERIVATION_FORWARD }
 An enum with all the available derivation methods. More...
 

Detailed Description

Class to compute in real-time the numerical approximations of integral and derivative operations for data values sampled periodically.

Enumeration Type Documentation

◆ derivationMethod

An enum with all the available derivation methods.

Enumerator
DERIVATION_2POINTS 

Numerical derivation using two points

DERIVATION_BACKWARD 

Numerical derivation using the three-point backward difference.

DERIVATION_FORWARD 

Numerical derivation using the three-point forward difference.

◆ integrationMethod

An enum with all the available integration methods.

Enumerator
INTEGRATION_RECTANGULAR 

Numerical integration using the rectangular rule

INTEGRATION_TRAPEZOIDAL 

Numerical integration using the trapezoidal rectangular rule

INTEGRATION_SIMPSON 

Numerical integration using the Simpson's 1/3 rule.

INTEGRATION_QUADRATIC 

Numerical integration using a parabola fit to three points.