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

◆ mdivide_right_ldlt() [1/2]

template<typename EigMat , typename T , require_all_matrix_t< EigMat, T > * = nullptr, require_any_not_st_arithmetic< EigMat, T > * = nullptr>
auto stan::math::mdivide_right_ldlt ( const EigMat &  b,
LDLT_factor< T > &  A 
)
inline

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

Template Parameters
EigMattype of the right hand side
Ttype of matrix in the LDLT_factor
Parameters
ALDLT_factor
bRight hand side matrix or vector.
Returns
x = b A^-1, 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_right_ldlt.hpp.