5 #ifndef __pinocchio_autodiff_casadi_math_triangular_matrix_hpp__ 
    6 #define __pinocchio_autodiff_casadi_math_triangular_matrix_hpp__ 
   15     template<Eigen::UpLoType info, 
typename RhsMatrix, 
typename Scalar>
 
   18       template<
typename LhsMatrix, 
typename ResMat>
 
   20         const Eigen::MatrixBase<LhsMatrix> & lhs_mat,
 
   21         const Eigen::MatrixBase<RhsMatrix> & rhs_vec,
 
   22         const Eigen::MatrixBase<ResMat> & 
res)
 
   24         res.const_cast_derived().col(0).noalias() = lhs_mat.derived() * rhs_vec.derived();
 
   28     template<Eigen::UpLoType info, 
typename RhsMatrix, 
typename Scalar>
 
   31       template<
typename LhsMatrix, 
typename ResMat>
 
   33         const Eigen::MatrixBase<LhsMatrix> & lhs_mat,
 
   34         const Eigen::MatrixBase<RhsMatrix> & rhs_mat,
 
   35         const Eigen::MatrixBase<ResMat> & 
res)
 
   37         res.const_cast_derived().noalias() = lhs_mat.derived() * rhs_mat.derived();
 
   43 #endif // #ifndef __pinocchio_autodiff_casadi_math_triangular_matrix_hpp__