Boost logo

Boost Users :

Subject: Re: [Boost-users] [multi_array] deduce logical shape of "parent" multi_array from view
From: alfC (alfredo.correa_at_[hidden])
Date: 2010-02-02 06:09:50


On Jan 29, 5:17 am, Rhys Ulerich <rhys.uler..._at_[hidden]> wrote:

> I know it's not as pretty, but is there any reason you can't pass the
> HDF API both the parent multi_array and either the view or the slicing
> information required to create the view?

Thank Rhys, this is what I am doing for now.
something like:

file f("file.h5");
f.save( A, Aview );

internally A is not used (just its shape), and from Aview the data
pointer and the offsets/strides.
hdf5 library insist to know what is the full extents of the contiguous
memory where Aview lives.

Thanks,
Alfredo


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net