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

◆ mdivide_right_spd()

template<typename EigMat1 , typename EigMat2 , require_all_eigen_t< EigMat1, EigMat2 > * = nullptr>
Eigen::Matrix< return_type_t< EigMat1, EigMat2 >, EigMat1::RowsAtCompileTime, EigMat2::ColsAtCompileTime > stan::math::mdivide_right_spd ( const EigMat1 &  b,
const EigMat2 &  A 
)
inline

Returns the solution of the system xA=b where A is symmetric positive definite.

Template Parameters
EigMat1type of the right-hand side matrix or vector
EigMat2type of the second matrix
Parameters
bright-hand side matrix or vector
Amatrix
Returns
x = b A^-1, 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_right_spd.hpp.