eigenvalues visualizes the vector field for a one or two dimensional differential equation.
Usage
eigenvalues(matrix_entries, matrix_rows = 2)
Value
The result is a list with two elements (denoted by the “$”), values and vectors.
result$values are the eigenvalues, stored as a vector. The leading eigenvalue is the first entry in the vector.
Arguments
matrix_entries
entries of your matrix in row wise format.
So the matrix
# 4 3
# 2 1
# would be entered in c(4,3,2,1)
matrix_rows
the number of rows and columns in your SQUARE matrix.