|
Boost : |
From: Giovanni Bavestrelli (gibav_at_[hidden])
Date: 2000-12-03 10:01:44
--- In boost_at_[hidden], Jeremy Siek <jsiek_at_l...> wrote:
>[...]
> For example, one data-point to look at is how Matlab handles
> multi-dimensional arrays. Here's a look at indexing into a 2x2x2
cube in
> various ways using matlab.
>
> >> a = [1,2,3,4,5,6,7,8]
> a =
> 1 2 3 4 5 6 7 8
>
> >> b = reshape(a, 2, 2, 2)
Does that mean that with Mathlab you can reshape a monodimensional
array into a three dimensional array, or, in general, change the
number of dimensions of the array? With my Array that's certainly not
possible, and I don't know if it's desirable. The whole
implementation would have to change to support that, and many
problems would have to be addressed.
Giovanni Bavestrelli
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk