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

◆ mdivide_left_ldlt() [3/3]

template<typename T1 , typename T2 , require_all_matrix_t< T1, T2 > * = nullptr, require_any_st_var< T1, T2 > * = nullptr>
auto stan::math::mdivide_left_ldlt ( LDLT_factor< T1 > &  A,
const T2 &  B 
)
inline

Returns the solution of the system Ax=b given an LDLT_factor of A.

Template Parameters
Ttype of B
Parameters
ALDLT_factor
BRight hand side matrix or vector.
Returns
x = A^-1 B, solution of the linear system.
Exceptions
std::domain_errorif rows of B don't match the size of A.

Definition at line 27 of file mdivide_left_ldlt.hpp.