Command Reference : Matrix Language Reference
Eigenvalues of symmetric matrix.
Syntax: @eigenvalues(s)
s: sym
Return: vector
Returns a vector containing the eigenvalues of the sym s.
The eigenvalues are those scalars that satisfy where is the sym associated with the argument . The eigenvalues are arranged in ascending order.
sym s1 = @unvech(@mnrnd(15))
vector v1 = @eigenvalues(s1)
See also @eigenvectors.