1 #ifndef __STAN__MATH__MATRIX__MDIVIDE_RIGHT_TRI_LOW_HPP__
2 #define __STAN__MATH__MATRIX__MDIVIDE_RIGHT_TRI_LOW_HPP__
4 #include <boost/math/tools/promotion.hpp>
21 template <
typename T1,
typename T2,
int R1,
int C1,
int R2,
int C2>
23 Eigen::Matrix<typename boost::math::tools::promote_args<T1,T2>::type,R1,C2>
25 const Eigen::Matrix<T2,R2,C2> &A) {
26 return mdivide_right_tri<Eigen::Lower>
27 (promote_common<Eigen::Matrix<T1,R1,C1>,
28 Eigen::Matrix<T2,R1,C1> >(b),
30 Eigen::Matrix<T2,R2,C2> >(A));