5 #ifndef __pinocchio_multibody_joint_joint_common_operations_hpp__ 6 #define __pinocchio_multibody_joint_joint_common_operations_hpp__ 8 #include "pinocchio/macros.hpp" 9 #include "pinocchio/math/matrix.hpp" 11 #include <boost/type_traits.hpp> 20 template<typename Scalar, bool is_floating_point = pinocchio::is_floating_point<Scalar>::value>
23 template<
typename M1,
typename M2>
24 static EIGEN_STRONG_INLINE
25 void run(
const Eigen::MatrixBase<M1> & StYS,
26 const Eigen::MatrixBase<M2> & Dinv)
30 StYS.llt().solveInPlace(Dinv_);
34 template<
typename Scalar>
37 template<
typename M1,
typename M2>
38 static EIGEN_STRONG_INLINE
39 void run(
const Eigen::MatrixBase<M1> & StYS,
40 const Eigen::MatrixBase<M2> & Dinv)
54 template<
typename ConfigVectorIn,
typename Scalar,
typename ConfigVectorOut>
55 static void run(
const Eigen::MatrixBase<ConfigVectorIn> &
q,
58 const Eigen::MatrixBase<ConfigVectorOut> & dest)
60 assert(q.size() == dest.size());
68 template<
typename Jo
int>
76 #endif // ifndef __pinocchio_multibody_joint_joint_common_operations_hpp__
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > & q
#define PINOCCHIO_EIGEN_CONST_CAST(TYPE, OBJ)
Macro for an automatic const_cast.
void inverse(const Eigen::MatrixBase< MatrixIn > &m_in, const Eigen::MatrixBase< MatrixOut > &dest)
Main pinocchio namespace.