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

◆ determinant() [2/3]

template<typename T , require_eigen_vt< std::is_arithmetic, T > * = nullptr>
value_type_t< T > stan::math::determinant ( const T &  m)
inline

Returns the determinant of the specified square matrix.

Template Parameters
Ttype of the matrix (must be derived from Eigen::MatrixBase)
Parameters
mSpecified matrix.
Returns
Determinant of the matrix.
Exceptions
std::domain_errorif matrix is not square.

Definition at line 21 of file determinant.hpp.