Re: Out of Memory Problem (beginner)

*To*: mathgroup at smc.vnet.net*Subject*: [mg44349] Re: Out of Memory Problem (beginner)*From*: Paul Abbott <paul at physics.uwa.edu.au>*Date*: Wed, 5 Nov 2003 10:02:17 -0500 (EST)*Organization*: The University of Western Australia*References*: <bo7pdn$am2$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

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