A simple vector-valued moving sum.
More...
#include <movingaverage.hh>
|
| typedef Eigen::Matrix< Scalar, 1, Eigen::Dynamic > | RowVector |
| | Specifies the vector type to sum over. More...
|
| |
|
| Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > | _hist |
| | Holds the "history" of the last N vectors (stored in rows). More...
|
| |
| Eigen::Matrix< Scalar, 1, Eigen::Dynamic > | _current |
| | Holds the current sum. More...
|
| |
| size_t | _currentIdx |
| | Holds the index, where the next vector should be inserted into _hist. More...
|
| |
template<class Scalar>
class wt::MovingSum< Scalar >
A simple vector-valued moving sum.
Specifies the vector type to sum over.
Constructor.
- Parameters
-
| N | Specifies the number of vectors to sum over. |
| M | Specifies the dimension of the vectors. |
Adds a vector and updates the moving sum.
template<class Scalar >
template<class Derived >
Adds a vector and updates the moving sum.
Resizes the moving sum operator.
- Parameters
-
| N | Specifies the number of vector to sum over. |
| M | Specifies the dimension of the vectors. |
template<class Scalar >
| Eigen::Matrix<Scalar, 1, Eigen::Dynamic> wt::MovingSum< Scalar >::_current |
|
protected |
Holds the index, where the next vector should be inserted into _hist.
template<class Scalar >
| Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> wt::MovingSum< Scalar >::_hist |
|
protected |
Holds the "history" of the last N vectors (stored in rows).
The documentation for this class was generated from the following file: