final public static int rawordinal(region r,int d0,int d1){ assert (r.rank == 2); if (performBoundsCheck) checkBounds(r,d0,d1);  int index = d1+ d0 * r.rank(1).size(); if(simpleRangeCheck) rangeCheck(r,index); return index;
public static int rawordinal(region r,int d0){ assert (r.rank == 1); if(performBoundsCheck) checkBounds(r,d0); if(simpleRangeCheck) rangeCheck(r,d0); return d0;
	final public static int rawordinal(region r,int d0,int d1){		assert (r.rank == 2);		if (performBoundsCheck) checkBounds(r,d0,d1);				int index = d1+ d0 * r.rank(1).size();		if(simpleRangeCheck) rangeCheck(r,index);		return index;	}