KalmanFilter
|
#include <model.h>
Public Member Functions | |
virtual T | function (const T &val, const double time) const =0 |
Abstract continuousModel inherits from model<double> and thus specifies that time is continuous. Class only declares single pure virtual method 'function' that describes a ODE where returned value is is the derivative of T evaluated at a specific time and value T. T is the data type whether double, Eigen or custom implemented.
Following two examples implement the same differential equation but using different T's.
|
pure virtual |
Pure virtual function. User is responsible for implementing this method in inherited class. The function returns rhs (right hand side) where rhs = diff(T,t) = function(T,t) where rhs is the derivative of variable T at time t.
User is also responsible for specifying data type T.