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.
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_inverseArguments",
"type": "object"
}