From: Victor Eijkhout on
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