On Thu, 1 Dec 2016, Henrique Andrade wrote:
Dear Allin and Jack,
I think there is a mistake in the mwrite funtion help. According to it:
"If fname has the suffix ".gz" the the file is written with gzip
compression. The format is basically as described above except that the
matrix elements are written in a single column, in column-major order."
Running the following script and openning testPLAIN and testGZ in a text
editor I get the same output (the matrix elements are not written in a
single column):
M = {1,2; 3,4; 5,6; 7,8; 9,10}
mwrite(M, "testPLAIN")
mwrite(M, "testGZ.gz")
You're right, that text is apparently out of date. It's now fixed in
git. I've also added a recommendation NOT to use gzip on very big
matrices, as the reading speed is slow. Binary is best for big
matrices.
Allin