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

◆ eigenvalues_sym() [2/3]

template<typename EigMat , require_eigen_matrix_dynamic_t< EigMat > * = nullptr, require_not_st_var< EigMat > * = nullptr>
Eigen::Matrix< value_type_t< EigMat >, -1, 1 > stan::math::eigenvalues_sym ( const EigMat &  m)

Return the eigenvalues of the specified symmetric matrix in ascending order of magnitude.

This function is more efficient than the general eigenvalues function for symmetric matrices.

Template Parameters
EigMattype of the matrix
Parameters
mSpecified matrix.
Returns
Eigenvalues of matrix.

Definition at line 23 of file eigenvalues_sym.hpp.