|
Boost Users : |
From: fritz.birnbacher_at_[hidden]
Date: 2005-11-21 11:08:00
Hi Ron,
thank you.
Next time I look closer to the documentation.
ciao
"Ronald Garcia" <garcia_at_[hidden]> 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_at_[hidden] 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_at_[hidden]
> > http://lists.boost.org/mailman/listinfo.cgi/boost-users
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