From: rwgk (rwgk_at_[hidden])
Date: 2002-02-11 19:00:48
--- In boost_at_y..., Damien Fisher <damien_at_m...> wrote:
> In general, this is difficult.
> However, it would be fairly straightforward, and quite valuable, to
> provide resizing on the first dimension at least (assuming a
> implementation, at any rate).
This could also be implemented by nesting arrays.
An alternative would be to use the "versa" type
that is outlined at (WORK IN PROGRESS!)
af::versa<double, grid_accessor<3> > v(10, 4, 5);
v.resize(af::grid_accessor<3>(20, 4, 5));
I have not tried this, but I think it should work.
P.S.: Just to prove it is there, the current source (minus the
Python-generated header files for overloading the operators)
Content is subject to change without notice.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk