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

◆ mdivide_right_ldlt() [2/2]

template<typename EigMat , typename T , require_all_matrix_t< EigMat, T > * = nullptr, require_all_st_arithmetic< EigMat, T > * = nullptr>
Eigen::Matrix< double, EigMat::RowsAtCompileTime, T::ColsAtCompileTime > 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.

Overload for arithmetic types

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 51 of file mdivide_right_ldlt.hpp.