Thank you, Tobi.
michele
On Sun, Oct 23, 2016 at 7:35 PM, 'Tobias Knopp' via julia-users <
julia-users@googlegroups.com> wrote:
> Dear Michele,
>
> yes the assumption is absolutely valid. Julia arrays are stored
> column-major ordered in memory and this will not change. Since write does
> only du
Dear Michele,
yes the assumption is absolutely valid. Julia arrays are stored
column-major ordered in memory and this will not change. Since write does
only dump the memory on disk this is also not going to change.
Cheers,
Tobi
Am Mittwoch, 19. Oktober 2016 09:03:49 UTC+2 schrieb Michele Zaff
On Wednesday, October 19, 2016 at 7:03:49 AM UTC, Michele Zaffalon wrote:
>
> On Thursday, October 13, 2016 at 3:38:36 PM UTC+2, Steven G. Johnson wrote:
>>
>> write on a numeric array will output the raw bytes, i.e. Column-major
>> data in the native byte order.
>>
>>
>> Would it be a reasonab
On Thursday, October 13, 2016 at 3:38:36 PM UTC+2, Steven G. Johnson wrote:
>
> write on a numeric array will output the raw bytes, i.e. Column-major data
> in the native byte order.
>
>
> Would it be a reasonable assumption that reshaping will not change the
ordering in future Julia implementat
I wish there was documentation for the file format aside from the MATLAB
implementation which also just uses `reshape`.
The only sure thing about the format is that the first byte of the file is
the endianness.
On Thu, Oct 13, 2016 at 3:38 PM, Steven G. Johnson
wrote:
> write on a numeric arr
write on a numeric array will output the raw bytes, i.e. Column-major data in
the native byte order.
Matlab arrays are also column major, so reading a Matlab-produced binary format
is probably straightforward, but you have to be careful of the byte order.
Obviously, you'll have to read the doc
I guess I was not clear enough: I cannot change the file format, so a
Julia-specific solution is not going to work.
On Thu, Oct 13, 2016 at 2:54 PM, FANG Colin wrote:
> Are you trying to serialise Julia objects? Why don't you try json or
> msgpack or so as your encoding?
>
> The default serializ