
21 Nov
2005
21 Nov
'05
4:08 p.m.
Hi Ron, thank you. Next time I look closer to the documentation. ciao "Ronald Garcia" <garcia@cs.indiana.edu> schrieb:
Hi Fritz,
I believe that the following is what you are looking for:
A2.resize(extents[2][3]);
Cheers, ron
On Nov 21, 2005, at 1:21 PM, fritz.birnbacher@t-online.de wrote:
Hello,
how can I change the number of elements in an array ?
I want to do following:
typedef boost::multi_array<double, 2> array_type;
array_type::extent_gen extents; array_type A1(extents[2][3]); array_type A2; A2 = A1
best regards
Fritz Birnbacher
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users