next up previous contents
Next: Implementation notes Up: class DimensionSet Previous: Operators

Examples

  int shp [3] = {2, 2, 2} ;
  Procs p(3, shp) ;

  DimensionSet ds ;
  ds += p.dim(0) ;
  ds += p.dim(2) ;

Create a process array p representing a 3 dimensional binary hypercube. Create ds as an empty dimension set, then add the first and third dimension of p to it.



Guansong Zhang
Fri Oct 9 12:29:23 EDT 1998