linear_algebra
Perform exact linear-algebra operations on matrices up to 25x25: determinant, inverse, solve, multiply, eigenvalues, and more, with fractional precision and stability warnings.
Instructions
Perform exact matrix and linear-algebra operations on matrices up to 25x25. Supply
other_matrix for multiplication or as the right-hand side of solve. String entries such as
1/3 preserve exact values. Condition-number results include numerical-stability warnings.
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": {
"operation": "<operation>",
"matrix": "<matrix>"
},
"name": "linear_algebra"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | Yes | ||
| operation | Yes | ||
| precision | No | ||
| other_matrix | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Output unit, when dimensionful. | |
| exact | No | Exact symbolic result when available. | |
| result | Yes | Primary result; strings preserve mathematical precision. | |
| details | No | ||
| warnings | No | ||
| operation | Yes | Operation actually performed. | |
| approximate | No | Numerical approximation at the requested precision. | |
| normalized_input | No | Canonical input used by the computation engine. |