matrix_inverse
Compute the inverse of a matrix using SymPy's inv method. Input a matrix key to receive the key for its inverted form, enabling efficient symbolic algebra operations.
Instructions
Calculates the inverse of a matrix using SymPy's inv method.
Args:
matrix_key: The key of the matrix to invert.
Example:
# Create a matrix
matrix_key = create_matrix([[1, 2], [3, 4]])
# Calculate its inverse
inv_key = matrix_inverse(matrix_key)
Returns:
A key for the inverted matrix.
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_inverse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix_key | Yes |