User`s guide

5 Sample Applications (Java)
creates an instance of the class factor.
The following statements call the methods that encapsulate the MATLAB
functions:
result = theFactor.cholesky(1, a);
...
result = theFactor.ludecomp(2, a);
...
result = theFactor.qrdecomp(2, a);
...
10 Compile the getfactor application using javac.
cd to the matlabroot\work\factormatrix directory.
On Windows, execute the following command:
javac -classpath
.;
matlabroot\java\jar\toolbox\javabuilder.jar;
.\distrib\factormatrix.jar getfactor.java
On UNIX, execute the following command:
javac -classpath
.:
matlabroot/java/jar/toolbox/javabuilder.jar:
./distrib/factormatrix.jar getfactor.java
11 Run the application.
Run
getfactor using a nonsparse matrix
On Windows, execute the
getfactor classfileasfollows:
java -classpath
.;
matlabroot\java\jar\toolbox\javabuilder.jar;
.\distrib\factormatrix.jar
-Djava.library.path=
matlabroot\bin\win32;.\distrib
getfactor 4
5-22