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

◆ mdivide_left_tri_low() [4/9]

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

Returns the solution of the system Ax=b when A is lower triangular.

Template Parameters
T1type of elements in A
T2type of elements in b
Parameters
ATriangular matrix.
bRight hand side matrix or vector.
Returns
x = A^-1 b, 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 26 of file mdivide_left_tri_low.hpp.