linear_solve
Solves systems of linear equations Ax = b using Gaussian elimination with partial pivoting, returning the solution vector for square coefficient matrices and right-hand side vectors.
Instructions
Solve a system of linear equations Ax = b using Gaussian elimination with partial pivoting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | Yes | Coefficient matrix A (square, 2D array). | |
| vector | Yes | Right-hand side vector b. |