KalmanFilter
|
#include <model.h>
Public Member Functions | |
virtual T | function (const T &val, const int index) const =0 |
Abstract discreteModel inherits from model<int> and thus specifies that time is 'discrete'. Class only declares single pure virtual method 'function' that describes an incremental function where the current state at time k that is T_k is given by function(T_{k-1},k-1). T is the data type whether double, Eigen or custom implemented.
|
pure virtual |
Pure virtual function. User is responsible for implementing this method in inherited class. The function returns rhs (right hand side) where rhs = T{k} = function(T_{k-1},k-1) where rhs is the next model state after state being T_{k-1} at time k-1.
User is also responsible for specifying data type T.