matrix_determinant
Compute the determinant of a matrix using symbolic algebra. Input the matrix key to obtain the determinant expression with precision and reliability.
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 |
Input Schema (JSON Schema)
{
"properties": {
"matrix_key": {
"title": "Matrix Key",
"type": "string"
}
},
"required": [
"matrix_key"
],
"title": "matrix_determinantArguments",
"type": "object"
}