34 #ifndef OPEN_WALKER_CORE_VECTOR_REF_H 35 #define OPEN_WALKER_CORE_VECTOR_REF_H 37 #include <Eigen/Dense> 50 template <
typename _Derived,
int _Rows>
51 class VectorRef :
public Eigen::Block<_Derived, _Rows, 1>
54 typedef _Derived Derived;
61 typedef Eigen::Block<Derived, Rows, 1> Base;
77 explicit VectorRef(Derived& ref,
int startRow = 0,
int startCol = 0) : Base(ref, startRow, startCol)
84 using Base::operator=;
91 std::ostringstream out;
92 out << this->transpose();
105 #endif // OPEN_WALKER_CORE_VECTOR_REF_H The VectorRef class.
Definition: vector_ref.h:51
std::string toString() const
Conversion to std::string.
Definition: vector_ref.h:89
Definition: angular_acceleration.h:39
VectorRef(Derived &ref, int startRow=0, int startCol=0)
Default Constructor.
Definition: vector_ref.h:77