diff --git a/Classes/PHPExcel/Shared/JAMA/docs/docs.php b/Classes/PHPExcel/Shared/JAMA/docs/docs.php deleted file mode 100644 index d27a42f..0000000 --- a/Classes/PHPExcel/Shared/JAMA/docs/docs.php +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/Classes/PHPExcel/Shared/JAMA/docs/download.php b/Classes/PHPExcel/Shared/JAMA/docs/download.php deleted file mode 100644 index 2df6e0c..0000000 --- a/Classes/PHPExcel/Shared/JAMA/docs/download.php +++ /dev/null @@ -1,65 +0,0 @@ -create($files); - - // create the download url - $webDir = substr($_SERVER['PHP_SELF'], 0, -18); - $urlPath = "http://".$_SERVER['HTTP_HOST'].$webDir."/downloads"; - - // redirect to download url - header("Location: $urlPath/$tarName"); - -} - -include_once "includes/header.php"; -include_once "includes/navbar.php"; -?> -

-Download current version: -

- - diff --git a/Classes/PHPExcel/Shared/JAMA/docs/example.php b/Classes/PHPExcel/Shared/JAMA/docs/example.php deleted file mode 100644 index d76c0f5..0000000 --- a/Classes/PHPExcel/Shared/JAMA/docs/example.php +++ /dev/null @@ -1,166 +0,0 @@ - -

Magic Square Example

-

-The Jama distribution comes with a magic square example that is used to -test and benchmark the LU, QR, SVD and symmetric Eig decompositions. -The example outputs a multi-column table with these column headings: -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nOrder of magic square.
traceDiagonal sum, should be the magic sum, (n^3 + n)/2.
max_eigMaximum eigenvalue of (A + A')/2, should equal trace.
rankLinear algebraic rank, should equal n if n is odd, be less than n if n is even.
condL_2 condition number, ratio of singular values.
lu_restest of LU factorization, norm1(L*U-A(p,:))/(n*eps).
qr_restest of QR factorization, norm1(Q*R-A)/(n*eps).
-

-Running the Java-based version of the matix square example produces these results: -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
n trace max_eig rank cond lu_res qr_res
31515.00034.3300.00011.333
43434.0003 Inf0.00013.500
56565.00055.4620.00014.400
6111111.0005 Inf5.33316.000
7175175.00077.1112.28637.714
8260260.0003 Inf0.00059.000
9369369.00099.1027.11153.333
10505505.0007 Inf3.200159.200
11671671.0001111.1022.909215.273
12870870.0003 Inf0.000185.333
1311051105.0001313.0604.923313.846
1413791379.0009 Inf4.571540.571
1516951695.0001515.0624.267242.133
1620562056.0003 Inf0.000488.500
1724652465.0001717.0427.529267.294
1829252925.00011 Inf7.111520.889
1934393439.0001919.04816.842387.368
2040104010.0003 Inf14.400584.800
2146414641.0002121.0356.0951158.095
2253355335.00013 Inf6.5451132.364
2360956095.0002323.03711.1301268.870
2469246924.0003 Inf10.667827.500
2578257825.0002525.02935.8401190.400
2688018801.00015 Inf4.9231859.077
2798559855.0002727.03237.9261365.333
281099010990.0003 Inf34.2861365.714
291220912209.0002929.02530.8971647.448
301351513515.00017 Inf8.5332571.733
311491114911.0003131.02733.0321426.581
321640016400.0003 Inf0.0001600.125
-
Elapsed Time = 0.710 seconds
- -

-The magic square example does not fare well when run as a PHP script. For a 32x32 matrix array -it takes around a second to complete just the last row of computations in the above table. -Hopefully this result will spur PHP developers to find optimizations and better attuned algorithms -to speed things up. Matrix algebra is a great testing ground for ideas about time and memory -performance optimation. Keep in perspective that PHP JAMA scripts are still plenty fast for use as -a tool for learning about matrix algebra and quickly extending your knowledge with new scripts -to apply knowledge. -

- -

-To learn more about the subject of magic squares you can visit the Drexel Math Forum on Magic Squares. -You can also learn more by carefully examining the MagicSquareExample.php source code below. -

- - diff --git a/Classes/PHPExcel/Shared/JAMA/docs/includes/credits.php b/Classes/PHPExcel/Shared/JAMA/docs/includes/credits.php deleted file mode 100644 index efc91c2..0000000 --- a/Classes/PHPExcel/Shared/JAMA/docs/includes/credits.php +++ /dev/null @@ -1,14 +0,0 @@ -
-

- Brought to you by: -

- -
diff --git a/Classes/PHPExcel/Shared/JAMA/docs/includes/footer.php b/Classes/PHPExcel/Shared/JAMA/docs/includes/footer.php deleted file mode 100644 index 7fb2bd6..0000000 --- a/Classes/PHPExcel/Shared/JAMA/docs/includes/footer.php +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/Classes/PHPExcel/Shared/JAMA/docs/includes/header.php b/Classes/PHPExcel/Shared/JAMA/docs/includes/header.php deleted file mode 100644 index 10d32a3..0000000 --- a/Classes/PHPExcel/Shared/JAMA/docs/includes/header.php +++ /dev/null @@ -1,11 +0,0 @@ - - - - JAMA v1.0.1 - - - - - - diff --git a/Classes/PHPExcel/Shared/JAMA/docs/includes/navbar.php b/Classes/PHPExcel/Shared/JAMA/docs/includes/navbar.php deleted file mode 100644 index 873d34d..0000000 --- a/Classes/PHPExcel/Shared/JAMA/docs/includes/navbar.php +++ /dev/null @@ -1,5 +0,0 @@ -
-
- [ index.php ] [ docs.php ] [ package.php ] [ test.php ] [ example.php ] [ download.php ] -
-
diff --git a/Classes/PHPExcel/Shared/JAMA/docs/index.php b/Classes/PHPExcel/Shared/JAMA/docs/index.php deleted file mode 100644 index 42a491e..0000000 --- a/Classes/PHPExcel/Shared/JAMA/docs/index.php +++ /dev/null @@ -1,30 +0,0 @@ - - -

-JAMA is a proposed standard matrix class for Java. The JAMA introduction -describes "JAMA : A Java Matrix Package" in this way: -

- -
-JAMA is a basic linear algebra package for Java. It provides user-level classes for -constructing and manipulating real, dense matrices. It is meant to provide sufficient -functionality for routine problems, packaged in a way that is natural and understandable -to non-experts. It is intended to serve as the standard matrix class for Java, and -will be proposed as such to the Java Grande Forum and then to Sun. A straightforward -public-domain reference implementation has been developed by the MathWorks and NIST as -a strawman for such a class. We are releasing this version in order to obtain public -comment. There is no guarantee that future versions of JAMA will be compatible with this one. -
- -

-The development team below has successfully ported the JAMA API to PHP. You can explore -this site to learn more about this project and it's current development status. -

- - \ No newline at end of file diff --git a/Classes/PHPExcel/Shared/JAMA/docs/package.php b/Classes/PHPExcel/Shared/JAMA/docs/package.php deleted file mode 100644 index 07f8492..0000000 --- a/Classes/PHPExcel/Shared/JAMA/docs/package.php +++ /dev/null @@ -1,37 +0,0 @@ - -

-Source Listing: -

- - -
- Viewing: -
- -
- - diff --git a/Classes/PHPExcel/Shared/JAMA/docs/test.php b/Classes/PHPExcel/Shared/JAMA/docs/test.php deleted file mode 100644 index d5478a0..0000000 --- a/Classes/PHPExcel/Shared/JAMA/docs/test.php +++ /dev/null @@ -1,28 +0,0 @@ - -

-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. -

-