11 template <
size_t STATE_DIM,
class SCALAR =
double>
12 class StateMatrix :
public Eigen::Matrix<SCALAR, STATE_DIM, STATE_DIM>
15 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
17 typedef Eigen::Matrix<SCALAR, STATE_DIM, STATE_DIM>
Base;
22 template <
typename OtherDerived>
23 StateMatrix(
const Eigen::MatrixBase<OtherDerived>& other) : Base(other)
27 template <
typename OtherDerived>
30 this->Base::operator=(other);
StateMatrix & operator=(const Eigen::MatrixBase< OtherDerived > &other)
This method allows you to assign Eigen expressions to MyVectorType.
Definition: StateMatrix.h:28
virtual ~StateMatrix()
Definition: StateMatrix.h:20
const Base & toImplementation() const
get const underlying Eigen type
Definition: StateMatrix.h:36
Definition: StateMatrix.h:12
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef Eigen::Matrix< SCALAR, STATE_DIM, STATE_DIM > Base
Definition: StateMatrix.h:17
StateMatrix(const Eigen::MatrixBase< OtherDerived > &other)
This constructor allows you to construct MyVectorType from Eigen expressions.
Definition: StateMatrix.h:23
StateMatrix()
Definition: StateMatrix.h:19
Base & toImplementation()
get underlying Eigen type
Definition: StateMatrix.h:34