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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"matrix_key": "<matrix_key>"
},
"name": "matrix_determinant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix_key | Yes |