[ index.php ] [ docs.php ] [ package.php ] [ test.php ] [ example.php ] [ download.php ]

The first script your should run when you install Jama is the TestMatrix.php script.

This will run the unit tests for methods in the Matrix.php class. Because the Matrix.php class can be used to invoke all the decomposition methods the TestMatrix.php script is a test suite for the whole Jama package.

The original TestMatrix.java code uses try/catch error handling. We will eventually create a build of JAMA that will take advantage of PHP5's new try/catch error handling capabilities. This will improve our ability to replicate all the unit tests that appeared in the original (except for some print methods that may not be worth porting).

You can run the TestMatrix.php script to see what unit tests are currently implemented. The source of the TestMatrix.php script is provided below. It is worth studying carefully for an example of how to do matrix algebra programming with Jama.


Warning: highlight_file(../test/TestMatrix.php): Failed to open stream: No such file or directory in /var/www/html/slevmejih.cz/www/lib/PHPExcel/Shared/JAMA/docs/test.php on line 26

Warning: highlight_file(): Failed opening '../test/TestMatrix.php' for highlighting in /var/www/html/slevmejih.cz/www/lib/PHPExcel/Shared/JAMA/docs/test.php on line 26