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.
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. |