From: Victor Eijkhout on 25 Jun 2010 13:29 kj <no.email(a)please.post> wrote: > (1) I have a relatively large file (9.4GB) that containing a > rectangular matrix (columns separated by tabs, rows separated by > newlines). I want to generate a file that contains the transpose > of this matrix, and do so without slurping the entire matrix into > memory all at once. I wouldn't do that with a scripting language. Write a program in C or so. For many operations you don't need the inverse. Multiplying with a matrix transpose is just as easy as with the matrix. They have the same eigenvalues. Et cetera. Is this conversion going to happen more than once? Can you change the program that generated the original matrix to write out the transpose? Victor. -- Victor Eijkhout -- eijkhout at tacc utexas edu
First
|
Prev
|
Pages: 1 2 3 4 5 6 Prev: Simple hack to get $500 to your home. Next: Access to the output of the last command |