Matrix API
Linear algebra as an API: multiply matrices, analyse a matrix, and solve linear systems — all computed locally and exactly. The multiply endpoint returns the product A×B, checking that the inner dimensions match. The analyze endpoint takes any matrix and returns its transpose and rank, and for square matrices also the determinant, trace, whether it is symmetric and invertible, and the inverse when it exists — using LU decomposition with partial pivoting and Gauss-Jordan elimination for numerical stability. The solve endpoint solves a system Ax = b for a square coefficient matrix by Gaussian elimination with partial pivoting, and reports cleanly when the matrix is singular and there is no unique solution. Matrices are passed as JSON arrays of rows, for example [[1,2],[3,4]]. Everything is deterministic and instant. Ideal for data-science and machine-learning prep, computer graphics and 3D transforms, engineering and physics, computer-vision calibration, control systems, and teaching linear algebra. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. This is matrix and linear-algebra maths; for 3D rotations use a quaternion API, for vector maths use a vector API, and for statistics use a stats API.
api.oanor.com/matrix-api