Solve
Given a regular matrix A and a vector b, solves the linear system of equations Ax=b.
Syntax
solve(Matrix, Vector)
Arguments
1 | Matrix | The system matrix |
---|---|---|
2 | Vector | The independent vector |
Output
A vector.
Examples
A = ( (1,0,9,8,0),(5,3,5,2,5),(0,9,6,4,5),(6,5,9,7,5),(9,2,3,0,6) ) b = [1,2,3,4,5] solve(A,b) solve( {escribir mismo sistema})