docs: public static INDArrayIndex interval(int begin, int stride, int end, boolean inclusive) {
          Preconditions.checkArgument(begin <= end, "Beginning index (%s) in range must be less than or equal to end (%s)", begin, end);
          INDArrayIndex index = new IntervalIndex(inclusive, stride);
          index.init(begin, end);
          return index;
      }