Eigenvalues of a matrix (eigenvalues)
Eigenvalues of a square matrix.
With this function, the solver shows the steps whenever it finds them.
How to write it
eigenvalues(matrix)
- matrix
- A matrix, written as a list of rows. Takes a matrix, written as a list of rows.
Examples
eigenvalues([[2, 1], [1, 2]])In the solver,
Open in the solvereigenvalues([[2, 1], [1, 2]])gives[1, 3].
Related functions
- eigenvectors
Eigenvectors of a square matrix, one for each eigenvalue.
- eigensystem
Eigenvalues and eigenvectors of a square matrix together: the values, then the vectors.
- hilbert_matrix
Hilbert matrix of a given size: the entry in row i and column j is 1/(i + j - 1).
- dot
Dot product of two vectors, or product of two matrices.
- identity_matrix
Identity matrix of a given size.
- diagonal_matrix
A matrix with the given list on its diagonal and zeros elsewhere.