MatrixCalculator.net
v0.1.0Exact matrix calculations with step-by-step results for six core matrix operations.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
matrix_add
Add two matrices of the same dimensions entry by entry. Useful for exact matrix addition or explaining each entry step by step. Accepts integers, decimals, and fraction strings (for example 1/2); returns the exact sum matrix and a calculation for each position.
| Parameter | Type | Description |
|---|---|---|
matrixA * | array | First matrix. |
matrixB * | array | Second matrix. |
matrix_subtract
Subtract matrix B from matrix A when both have the same dimensions. Useful for exact matrix subtraction, including negative values and step-by-step entry calculations. Accepts integers, decimals, and fraction strings; returns each exact difference and its calculation.
| Parameter | Type | Description |
|---|---|---|
matrixA * | array | Matrix to subtract from. |
matrixB * | array | Matrix to subtract. |
matrix_multiply
Multiply A by B when A's column count equals B's row count, including non-square matrices. Useful for exact matrix multiplication and step-by-step row-by-column dot products. Returns exact results plus each factor pair, product, and entry calculation; accepts fractions and decimals.
| Parameter | Type | Description |
|---|---|---|
matrixA * | array | Left matrix A. |
matrixB * | array | Right matrix B. |
matrix_determinant
Find the exact determinant of a square matrix using fraction-preserving elimination. Use for determinant questions requiring row swaps, elimination steps, pivot multipliers, sign changes, diagonal products, or singularity checks. Returns the determinant and detailed operation steps.
| Parameter | Type | Description |
|---|---|---|
matrix * | array | Square matrix. |
matrix_inverse
Find an exact inverse of a square matrix with step-by-step Gauss-Jordan elimination. Use for inverse questions needing exact fractions, augmented matrices, row swaps, normalization, elimination, and verification that A times A-inverse is identity. Returns the inverse and verification, or null with singular=true if not invertible.
| Parameter | Type | Description |
|---|---|---|
matrix * | array | Square matrix. |
matrix_transpose
Transpose a rectangular or square matrix by exchanging rows and columns. Useful for requests to show where each result entry originated. Preserves exact integer, decimal, and fraction inputs and returns the transposed matrix with source-to-result position mappings.
| Parameter | Type | Description |
|---|---|---|
matrix * | array | Matrix to transpose. |