src/main/java/org/apache/datasketches/characterization/kll/KllDoublesSketchRankGaussianAccuracyProfile.java [235:253]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Shuffle.shuffle(stream);
    final int sl = stream.length;
    for (int i = 0; i < sl; i++) {
      sk.update(stream[i]);
    }
    final int numPP = trueNatRanks.length;
    //get estimated ranks from sketch for all plot points
    final double[] estRanks;
    if (useBulk) {
      estRanks = sk.getRanks(trueNatRanks, criteria);
    } else {
      estRanks = new double[numPP];
      for (int pp = 0; pp < numPP; pp++) {
        estRanks[pp] = sk.getRank(trueNatRanks[pp], criteria);
      }
    }

    //compute errors for each plotPoint
    for (int pp = 0; pp < numPP; pp++) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/datasketches/characterization/kll/KllFloatsSketchRankGaussianAccuracyProfile.java [235:253]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Shuffle.shuffle(stream);
    final int sl = stream.length;
    for (int i = 0; i < sl; i++) {
      sk.update(stream[i]);
    }
    final int numPP = trueNatRanks.length;
    //get estimated ranks from sketch for all plot points
    final double[] estRanks;
    if (useBulk) {
      estRanks = sk.getRanks(trueNatRanks, criteria);
    } else {
      estRanks = new double[numPP];
      for (int pp = 0; pp < numPP; pp++) {
        estRanks[pp] = sk.getRank(trueNatRanks[pp], criteria);
      }
    }

    //compute errors for each plotPoint
    for (int pp = 0; pp < numPP; pp++) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



