Jama & J++
Hi,
I tried your package as suggested on your website for the following code:
import Jama.*;
class Jamatest{
public static void main(String[] args){
double[][] array = {{1.,2.,3},{4.,5.,6.},{7.,8.,10.}};
Matrix A = new Matrix(array);
Matrix b = Matrix.random(3,1);
Matrix x = A.solve(b);
Matrix Residual = A.times(x).minus(b);
double rnorm = Residual.normInf();
System.out.println(rnorm);
}
}
and was unable to build getting the following response indicating at least that the package was found. Here is the compiler's response:
--------------------Configuration: jtest - Java Virtual Machine Debug--------------------
Compiling...
Microsoft (R) Visual J++ Compiler Version 1.02.7315
Copyright (C) Microsoft Corp 1996-1997. All rights reserved.
Jama\Matrix.java(769,11) : error J0049: Undefined name 'LUDecomposition'
Jama\Matrix.java(778,11) : error J0049: Undefined name 'QRDecomposition'
Jama\Matrix.java(787,11) : error J0049: Undefined name 'CholeskyDecomposition'
Jama\Matrix.java(796,11) : error J0049: Undefined name 'SingularValueDecomposition'
Jama\Matrix.java(805,11) : error J0049: Undefined name 'EigenvalueDecomposition'
Error executing jvc.exe.
jamatest.class - 5 error(s), 0 warning(s)
I am running on MS NT 4.0 Service Pack 3 and the MS Java SDK-Java 201. Have I done something wrong besides relying on Bill Gates?
Cheers,
John Spitzer
Date Index |
Thread Index |
Problems or questions? Contact list-master@nist.gov