static long MAP ( Slice target , long i ) throws DapException { if ( i < 0 ) throw new DapException ( "Slice.compose: i must be >= 0" ) ; if ( i > target . getStop ( ) ) throw new DapException ( "i must be < stop" ) ; return target . getFirst ( ) + i * target . getStride ( ) ; }
Map ith element of one range wrt a target range