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

◆ mdivide_left_tri_low() [6/9]

template<typename T1 , typename T2 , require_all_nonscalar_prim_or_rev_kernel_expression_t< T1, T2 > * = nullptr, require_any_var_t< T1, T2 > * = nullptr>
var_value< matrix_cl< double > > stan::math::mdivide_left_tri_low ( T1 &&  A,
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 30 of file mdivide_left_tri_low.hpp.