34 #ifndef OPEN_WALKER_CORE_MATRIX_REF_H 35 #define OPEN_WALKER_CORE_MATRIX_REF_H 37 #include <Eigen/Dense> 50 template <
typename _Derived,
int _Rows,
int _Cols>
51 class MatrixRef :
public Eigen::Block<_Derived, _Rows, _Cols>
54 typedef _Derived Derived;
62 typedef Eigen::Block<Derived, Rows, Cols> Base;
78 explicit MatrixRef(Derived& ref,
int startRow = 0,
int startCol = 0) :
79 Base(ref, startRow, startCol)
86 using Base::operator=;
96 std::ostringstream out;
110 #endif // OPEN_WALKER_CORE_MATRIX_REF_H Definition: angular_acceleration.h:39
MatrixRef(Derived &ref, int startRow=0, int startCol=0)
Default Constructor.
Definition: matrix_ref.h:78
std::string toString() const
Conversion to std::string.
Definition: matrix_ref.h:94
The MatrixRef class.
Definition: matrix_ref.h:51