Need Your Help, Problem using JAMA


Respected Sir/Madam,

I am a student and am using the JAMA package for calculating the SVD of a given m by n matrix. But the values of m and n , I am using is 300 and 30000 respectively. The SingularValueDecomposition class is giving me an "Out of Memory error". So are there any limitations in the dimensions of the input matrix.
Please kindly help me.

I have just written the following test code:

public class Test
{
 public static void main(String[] args)
 {
  Matrix m;
  double a[][] = new double[300][30000];
  for(int i=0; i<a.length;++i)
   for(int j=0; j<a[i].length;++j)
    a[i][j] = (double) Math.random();
  m =new Matrix(a);

 }
}

Thanking You
Yours Faithfully

Avinash Kanal

 



Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD

Date Index | Thread Index | Problems or questions? Contact list-master@nist.gov