(Comp.sys.handhelds) Option: Item: 3447 Subj: Symbolic Matrix Utilities ---------- Resp: 1 of 1 by blair at en.ecn.purdue.edu Author: [Marc E Blair] Date: Thu Jun 13 1991 12:14 This is a newer version which allows symbolics in solving simeq and also simplifies answers further than the old program. ->Q This program toggles fraction mode (a little block appears to indicate fraction mode) otherwise straight decimals will be used. Fractions can eat up memory on lengthy calculations. det returns a determinant of a matrix. It behaves much like the routine Eliel Louzouen wrote a while back, although I wrote this with speed as first priority. The approach I used resulted in a twelvefold increase in speed with numeric evaluation and a threefold increase in symbolic evaluation than the original routines. simeq solves a system of equations in matrix format... i.e. 4x+5y=9 and 3x+2y=10 would be entered { { 4 5 9 } { 3 2 10 } } and evaluated returning { '32/7' '-(13/7)' } meaning x=32/7 and y=-13/7. The program uses matrices to solve if there are less than five variables, >5 results in row reduction. (this way a ten variable equation takes 5 minutes, matrix methods would take 25 days) rr row reduction program to reduce matrices into row-echelon form. symbolic row reduction is supported. inv invert a matrix using row reduction techniques mec expand and collect and evaluate all items in a matrix to their most simple form ----- All other variables are subprograms. I am not repsonsible for memory loss, hardware trouble, loss of math abilities, sudden shifts in the space-time continuum, or other problems which might occur due to the use of this program but in all likelihood will never happen. enjoy! [Note: See also SYMBMAT on Goodies Disk #1 for another approach. -jkh-]