Example #1
0
 @Override
 public IIndex reduce(int dim) {
   if (dim < mIndexArrayData.getRank()) {
     mIndexArrayData.reduce(dim);
   } else {
     mIndexStorage.reduce(dim - mIndexArrayData.getRank());
   }
   return this;
 }
Example #2
0
 @Override
 public IIndex reduce() {
   mIndexArrayData.reduce();
   mIndexStorage.reduce();
   return this;
 }