code: public List<Double> x() {
          List<Double> result = new ArrayList<Double>(xy.size());
          for (Discrete.Pair pair : xy) {
              result.add(pair.x);
          }
          return result;
      }
docs: Creates, fills and returns a list containing the `x` values
  
  @return a list containing the `x` values