code: public void nextDoubles(double[] d, double lo, double hi) {
          real.nextDoubles(d);
  
          double l = hi - lo;        
          int n = d.length;
          for (int i = 0; i < n; i++) {
              d[i] = lo + l * d[i];
          }
      }
docs: Generate n uniform random numbers in the range [lo, hi)
  @param lo lower limit of range
  @param hi upper limit of range
  @param d array of random numbers to be generated