Boost logo

Boost :

Subject: Re: [boost] Interest in multi-dimensional array class templates.
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-06-19 11:42:28


On 11/06/2011 21:05, Brian Smith wrote:
> The file maps.zip in the containers directory in Boost's vault
> contains a library with classes for the development of
> multi-dimensional array applications. Also included are scalar and
> fixed-size vector and matrix class templates with an expression
> template implementation of operators.

Can I look at a N-dimensional array as a M-dimensional array, with M >
N? With N < M?

Can I have a view of part of the array? Can I easily linearize or
reshape it?

Given another N-dimensional array whose values are positions, can I
obtain the array of the values accessed at the given positions? Can this
be a lazy view?

How does it integrate with range and iterators?

The standard syntax for those operations is that of Matlab (which is
also what SciPy uses).
Do you provide something similar?


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