2 include_once
"includes/header.php";
3 include_once
"includes/navbar.php";
6 The first script your should run when you install Jama is the
TestMatrix.php script.
9 This will run the unit tests
for methods in the <code>
Matrix.php</code>
class. Because
10 the
Matrix.php
class can be used to invoke all the decomposition methods the <code>
TestMatrix.php</code>
11 script is a test suite
for the whole Jama package.
14 The original <code>
TestMatrix.java</code> code uses try/catch error handling. We will
15 eventually create a build of JAMA that will take advantage of PHP5's new try/catch error
16 handling capabilities. This will improve our ability to replicate all the unit tests that
17 appeared in the original (except
for some print methods that may not be worth porting).
20 You can <a href=
'../test/TestMatrix.php'>run the
TestMatrix.php script</a> to see what
21 unit tests are currently implemented. The source of the <code>
TestMatrix.php</code> script
22 is provided below. It is worth studying carefully
for an example of how to
do matrix algebra
23 programming with Jama.
26 highlight_file(
"../test/TestMatrix.php");
27 include_once
"includes/footer.php";