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

◆ eigendecompose_sym() [1/2]

template<typename EigMat , require_eigen_t< EigMat > * = nullptr, require_not_st_var< EigMat > * = nullptr>
std::tuple< Eigen::Matrix< value_type_t< EigMat >, -1, -1 >, Eigen::Matrix< value_type_t< EigMat >, -1, 1 > > stan::math::eigendecompose_sym ( const EigMat &  m)

Return the eigendecomposition of the specified symmetric matrix.

Template Parameters
EigMattype of the matrix
Parameters
mSpecified matrix.
Returns
A tuple V,D where V is a matrix where the columns are the eigenvectors of m, and D is a column vector of the eigenvalues of m. The eigenvalues are in ascending order of magnitude, with the eigenvectors provided in the same order.

Definition at line 25 of file eigendecompose_sym.hpp.