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-14 01:28:35


Jesse Perla wrote:
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.
  
Thanks for the help.

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