MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Out of Memory Problem (beginner)


In article <bo7pdn$am2$1 at smc.vnet.net>, cedric at ddd.co.jp (Cedric) 
wrote:

> I have a matrix of 6000 x 7000.
> A = Table[i,{i,1,6000},{j,1,7000}]
> I'd like to calculate A.Transpose[A].
> But it appears "Out of Memory" problem after
> trying to calculate for a long time.
> 
> Does anybody know how i can olve the above problem?

You can obtain the general element of such a matrix: If A is of size 
m x n, 

    A = Table[i, {i, 1, m}, {j, 1, n}]; 

then 

    A . Transpose[A] ==  n Table[i j, {i, m}, {j, m}]

Cheers,
Paul

-- 
Paul Abbott                                   Phone: +61 8 9380 2734
School of Physics, M013                         Fax: +61 8 9380 1014
The University of Western Australia      (CRICOS Provider No 00126G)         
35 Stirling Highway
Crawley WA 6009                      mailto:paul at physics.uwa.edu.au 
AUSTRALIA                            http://physics.uwa.edu.au/~paul


  • Prev by Date: Re: two different results for Sum[Log[n]/n...
  • Next by Date: Re: Simple Question -- Incrementing All Elemnts in A list by 1
  • Previous by thread: Re: Out of Memory Problem (beginner)
  • Next by thread: Re: Out of Memory Problem (beginner)