commands → eigenvalues

eigenvalues(A)

The eigenvalues command returns a list of eigenvalues for a square matrix A.

Examples

eigenvalues([[2,1],[1,2]]);
	[3., 1.]

Algorithm

We compute the characteristic polynomial and find its complex roots using Laguerre's method.