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

◆ chol2inv()

template<typename T , require_eigen_t< T > * = nullptr>
plain_type_t< T > stan::math::chol2inv ( const T &  L)

Returns the inverse of the matrix whose Cholesky factor is L.

Template Parameters
Ttype of elements in the matrix
Parameters
LMatrix that is a Cholesky factor.
Returns
The matrix inverse of L * L'
Exceptions
std::domain_errorIf the input matrix is not square or lower triangular

Definition at line 24 of file chol2inv.hpp.