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

◆ eigendecompose_sym() [2/2]

template<typename T , require_rev_matrix_t< T > * = nullptr>
auto stan::math::eigendecompose_sym ( const T &  m)
inline

Return the decomposition of the specified symmetric matrix.

Template Parameters
Ttype of input 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 28 of file eigendecompose_sym.hpp.