Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ mdivide_right_tri_low() [3/5]

template<typename T1 , typename T2 , require_all_kernel_expressions_t< T1, T2 > * = nullptr>
matrix_cl< double > stan::math::mdivide_right_tri_low ( const T2 &  b,
const T1 &  A 
)
inline

Returns the solution of the system Ax=b where A is a lower triangular matrix.

Parameters
AMatrix.
bRight hand side matrix or vector.
Returns
x = b * tri(A)^-1, solution of the linear system.
Exceptions
std::domain_errorif A is not square or the rows of b don't match the size of A.

Definition at line 25 of file mdivide_right_tri_low.hpp.