Boost logo

Boost Users :

From: Ronald Garcia (garcia_at_[hidden])
Date: 2007-01-16 11:04:32


On Jan 16, 2007, at 9:54 AM, Markus Werle wrote:

> Markus Werle <numerical.simulation <at> web.de> writes:
>
>>
>> Hi!
>>
>> IMHO the behaviour of operator= for multi_array is a little bit
>> broken.
>
> And: I cannot figure out from the docs how to prepare a multi_array
> for
> assignment.
>

For this purpose, you will want to use the resize() operation, not
reshape. resize is documented in the library reference documentation.

Regards,
ron


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