Store data in column-major order

Just have started using hdf5 for a short time.

I'm having a one dimension array read from a 2D matrix in column-major order.

For example, a 2*3 matrix:
1 2 3
4 5 6

So the array should be: 1,4,2,5,3,6. I'm now wondering how to write this array into a hdf dataset.

Thank you.

Yuqing Zhang
AnyBody Technology A/S, www.anybodytech.com<http://www.anybodytech.com/>
Niels Jernes Vej 10, 9220, Aalborg Øst, Denmark

Mobile: +45 60710765
Email: yz@anybodytech.com<mailto:yz@anybodytech.com>