docs: public static int[] range(int length) {
          int[] index = new int[length];
          for (int i=0; i<index.length; i++) {
              // TODO: This should maybe be a safe cast for the benefit of non-IntDouble classes.
              index[i] = (int) i;
          }
          return index;
      }