Skip to main content
Glama
sdiehl
by sdiehl

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

TableJSON Schema
NameRequiredDescriptionDefault
matrix_keyYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sdiehl/sympy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server