Template Function pinocchio::cholesky::Mv

Function Documentation

template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl, typename Mat, typename MatRes>
MatRes &pinocchio::cholesky::Mv(const ModelTpl<Scalar, Options, JointCollectionTpl> &model, const DataTpl<Scalar, Options, JointCollectionTpl> &data, const Eigen::MatrixBase<Mat> &min, const Eigen::MatrixBase<MatRes> &mout)

Performs the multiplication \( M v \) by using the sparsity pattern of the M matrix.

Template Parameters:

JointCollection – Collection of Joint types.

Parameters:
  • model[in] The model structure of the rigid body system.

  • data[in] The data structure of the rigid body system.

  • min[in] The input matrix to multiply with data.M.

  • mout[out] The output matrix where the result of \( Mv \) is stored.

Returns:

A reference of the result of \( Mv \).