Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-04-02 10:20:14

On Sun, 1 Apr 2001, Larry Evans wrote:
jcampb> So, just to be sure I understand, the following expression:
jcampb> A[3 <= stride(2) < 7][all][0 <= stride(1) < 10]
jcampb> [all][all][all]
jcampb> would be a 3 dimensional array. This means that you could
jcampb> have an infinite number of [sliceExpr] operators strung together,
jcampb> where sliceExpr is either all or something like [3<=stride(1)<7].

Well, not really infinite ;) The number of []'s has to be the same as the
number of dimensions in the array (unless you use the .all() method).
However, there is no hard-coded limit on the number of dimensions.


 Jeremy Siek www:
 Ph.D. Candidate email: jsiek_at_[hidden]
 Univ. of Notre Dame work phone: (219) 631-3906

Boost list run by bdawes at, gregod at, cpdaniel at, john at