13 Jul
2012
13 Jul
'12
8:27 p.m.
Hi, I have the following question: The documentation describes how to obtain an array view for a small number of dimensions by repeated application of the [] operator of boost::indices. Is there a way to do it in a single call, bypassing the C-type notation? Say, I have a five dimensional multi_array (ma, henceforth) and want to get a slice in one dimension. Is there a call to do this ? I am looking for a generic answer. TIA, Petros PS: was hoping that the ranges_ field of extent_gen could do the trick, since all the info is there - I know it’s in the detail namespace which practically means private/subject-to-change but had no better idea.