Matrix Ops
matrix_opsLinear algebra on matrices, exactly where it matters. Determinant, inverse, RREF, rank, null space, linear solve (Ax = b), multiply, add / subtract, integer powers, trace and LU are computed with exact rational arithmetic (entries may be integers, decimals or "p/q" strings — 0.1 stays 1/10), returned as exact values plus decimals. Floating-point eigenvalues (Jacobi for symmetric matrices with eigenvectors; Hessenberg + shifted QR for general matrices including complex eigenvalues, with eigenvectors for real eigenvalues), singular values (one-sided Jacobi SVD), QR, norms and condition number. op=analyze returns determinant, rank, trace, inverse, symmetry and eigenvalues in one call. Price: $0.002 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/matrix-ops
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": {
"a": "<a>"
},
"name": "matrix_ops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Matrix A as an array of rows (max 40x40; 30x30 for exact ops). Entries: numbers or "p/q" strings | |
| b | No | Matrix B (multiply / add / subtract) or right-hand side vector / matrix (solve) | |
| op | No | analyze | |
| norm | No | fro | |
| power | No |