14 #include <Eigen/Dense> 22 r.
asEigen() = asEigen().template cast<float>();
29 r.
asEigen() = asEigen().template cast<double>();
47 #define DO_MATDYN_INSTANTIATION(T_) \ 48 template class mrpt::math::CMatrixDynamic<T_>; Template for column vectors of dynamic size, compatible with Eigen.
CMatrixDynamic< double > cast_double() const
CVectorDynamic< Scalar > lu_solve(const CVectorDynamic< Scalar > &b) const
Solves the linear system Ax=b, returns x, with A this asymmetric matrix.
This base provides a set of functions for maths stuff.
CVectorDynamic< Scalar > llt_solve(const CVectorDynamic< Scalar > &b) const
Solves the linear system Ax=b, returns x, with A this symmetric matrix.
CMatrixDynamic< float > cast_float() const
EIGEN_MAP asEigen()
Get as an Eigen-compatible Eigen::Map object.
EIGEN_MAP asEigen()
Get as an Eigen-compatible Eigen::Map object.
This template class provides the basic functionality for a general 2D any-size, resizable container o...
#define DO_MATDYN_INSTANTIATION(T_)