13 #include <Eigen/Dense> 18 template <
typename T2>
22 r.
asEigen() = asEigen().template cast<T2>();
26 #define DO_VECDYN_INSTANTIATION(T_) \ 27 template class mrpt::math::CVectorDynamic<T_>; #define DO_VECDYN_INSTANTIATION(T_)
Template for column vectors of dynamic size, compatible with Eigen.
size_t size(const MATRIXLIKE &m, const int dim)
CVectorDynamic< T2 > cast() const
This base provides a set of functions for maths stuff.
EIGEN_MAP asEigen()
Get as an Eigen-compatible Eigen::Map object.