|
Boost Users : |
Subject: Re: [Boost-users] Slicing multi_array
From: Rhys Ulerich (rhys.ulerich_at_[hidden])
Date: 2009-11-04 18:39:40
>
> I want to write a function that operates on one-dimensional multi_array's
> and use it to modify the columns of a two-dimensional multi_array. I thought
> that this would be a straightforward application of slicing, i.e., views
> with dimensional reduction.
>
> Any suggestions?
>
Attached version of it working, I think. Not quite what you had in mind
since my attachment includes saves the view as a temporary and then passes
the view by reference to the function fill_array.
- Rhys
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