Solving Systems of Linear Equations | topic started 4/23/2002; 6:15:42 AM last post 4/23/2002; 9:17:27 AM |
|
Michael Gage - Re: Solving Systems of Linear Equations 4/23/2002; 9:17:27 AM (reads: 1360, responses: 0) |
The
matrix manipulation code is in PGmatrixmacros.pl and the real work is
done in the module: MatrixReal1.pm (which is from CPAN). The module
Matrix.pm overlays some minor changes to MatrixReal1.pm. Some matrix
manipulations work well with complex numbers, but some, particularly
inversion, do not. There are a lot implimented numerical techniques such as LR decomposition in the CPAN module. The module also overloads multiplication so that matrices can be multiplied. For now the only documentation is in the code -- but there is quite a bit of documentation there. Check also the code in the answer evaluator fun_cmp (PGans |