matrix_eigenvalues
Calculate the eigenvalues of a matrix using symbolic algebra. Input a matrix key to obtain eigenvalues expressed as a dictionary mapping values to their multiplicities.
Instructions
Calculates the eigenvalues of a matrix using SymPy's eigenvals method.
Args:
matrix_key: The key of the matrix to calculate eigenvalues for.
Example:
# Create a matrix
matrix_key = create_matrix([[1, 2], [2, 1]])
# Calculate its eigenvalues
evals_key = matrix_eigenvalues(matrix_key)
Returns:
A key for the eigenvalues expression (usually a dictionary mapping eigenvalues to their multiplicities).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix_key | Yes |