Boost logo

Boost Users :

Subject: Re: [Boost-users] [multi-array] Extracting dimension information from a multi-array
From: Jesse Perla (jesseperla_at_[hidden])
Date: 2010-09-13 12:13:21


Ryan McConnehey <mccorywork <at> gmail.com> writes:
> Since the above code works we can access a specific dimension like so.
> var.shape()[1] //as long as the operator values exists within the
> dimension

Yes.Since the type returned from var.shape() is a raw pointer, you should be able
to access it under all circumstances like this.


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