Boost logo

Boost :

From: Toon Knapen (toon_at_[hidden])
Date: 2001-03-29 09:54:07


Jeremy Siek wrote:
> http://www.lsc.nd.edu/~jsiek/tlc/multi_array/libs/numeric/doc/multi_array.html
>
> Comments expected :)

As for terminology, there's a conflict with Blitz. Blitz uses subarray
as a partial view (with the same rank) where a slice has lower rank.
In your doc subarray also has a lower rank. Maybe it would also be
a good idea to define the terminology used. Making no distinction
between both might be confusing to the user (diff. between
indexing with a range which contains only 1 or more indices)

Why is the index signed ? There were arguments about fortran or
C-style but I would expect the sign-type to be generall size_t

Maybe for the concept of the index_range a model that
supports non-strided ranges could be provided for indirect addressing ?

toon


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk