Automatic Differentiation
 
Loading...
Searching...
No Matches
mdivide_right_tri_low.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_FUN_MDIVIDE_RIGHT_TRI_LOW_HPP
2#define STAN_MATH_PRIM_FUN_MDIVIDE_RIGHT_TRI_LOW_HPP
3
7
8namespace stan {
9namespace math {
10
24template <typename EigMat1, typename EigMat2,
25 require_all_eigen_t<EigMat1, EigMat2>* = nullptr,
26 require_all_not_vt_fvar<EigMat1, EigMat2>* = nullptr>
27inline Eigen::Matrix<return_type_t<EigMat1, EigMat2>,
28 EigMat1::RowsAtCompileTime, EigMat2::ColsAtCompileTime>
29mdivide_right_tri_low(const EigMat1& b, const EigMat2& A) {
30 return mdivide_right_tri<Eigen::Lower>(b, A);
31}
32
33} // namespace math
34} // namespace stan
35
36#endif
Eigen::Matrix< value_type_t< EigMat1 >, EigMat1::RowsAtCompileTime, EigMat2::ColsAtCompileTime > mdivide_right_tri_low(const EigMat1 &A, const EigMat2 &b)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...