matrix_determinant
Computes a matrix determinant from its stored matrix key, returning a key for the symbolic determinant expression.
Instructions
Calculates the determinant of a matrix using SymPy's det method.
Args:
matrix_key: The key of the matrix to calculate the determinant for.
Example:
# Create a matrix
matrix_key = create_matrix([[1, 2], [3, 4]])
# Calculate its determinant
det_key = matrix_determinant(matrix_key)
# Results in -2
Returns:
A key for the determinant expression.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |