next up previous
Next: eig Up: Built in Functions Previous: Colon

System Solve

Usage: <matrix> 1#1 1#1<matrix>
Computes the solution to a real system of linear equations A*X=B (simple driver). LU decomposition with partial pivoting and row interchanges is used to solve the system. The first matrix is changed to A = P*L*U on exit. The second matrix is changed to the NxNRHS solution matrix X.
Returns an integer vector. The row i of A was interchanged with row IPIV(i).
Ex:[1,2;3,4] 1#1 1#1[5,6;7,8]
Uses the LAPACK function gesv.
See:http://www.osl.iu.edu/research/mtl/doc/gesvLapackMatAVectorIntLapackMatB.html



Arun Francis Rodrigues
1999-08-17