Boost logo

Boost Users :

Subject: Re: [Boost-users] [multi-array] Extracting dimension information from a multi-array
From: Ryan McConnehey (mccorywork_at_[hidden])
Date: 2010-09-12 09:53:00


Hicham Mouline wrote:

I believe the shape() member function is what you're looking for,

Do you have an example of how shape() works?  The shape method isn't used in any of the multi-array tutorials.  Also, the reference material says the shape method returns a list of "NumDims" but the return signature specifies a "const size_type *" is returned.  How is "const size_type *" a list of dimension?

Ryan

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