matrix_determinant
Computes the determinant of a square matrix from row data and returns the numeric result, aiding linear algebra and matrix calculations.
Instructions
Computes the determinant of a square matrix.
Args: matrix: A square matrix as a list of rows.
Returns: On success: {"result": } On error: {"error": }
Examples: >>> matrix_determinant([[1, 2], [3, 4]]) {'result': -2.0}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | Yes |