code: public void forEach(DoubleBiConsumer action)
      {
          for (int ii=0;ii<count;ii++)
          {
              action.accept(xarr[ii], yarr[ii]);
          }
      }
docs: Calls action for each sample (x,y)
  @param action