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

◆ mdivide_left_ldlt() [1/3]

template<typename T , typename EigMat , require_eigen_vt< std::is_arithmetic, T > * = nullptr, require_eigen_vt< is_fvar, EigMat > * = nullptr>
Eigen::Matrix< value_type_t< EigMat >, Eigen::Dynamic, EigMat::ColsAtCompileTime > stan::math::mdivide_left_ldlt ( LDLT_factor< T > &  A,
const EigMat &  b 
)
inline

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

Template Parameters
Ttype of matrix for the LDLT_factor
EigMattype of the right-hand side matrix or vector
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 28 of file mdivide_left_ldlt.hpp.