code: public static double cv(double std, double mean) {
          if(mean==0) {
              return Double.POSITIVE_INFINITY;
          }
          
          double cv = std/mean;
          
          return cv;
      }
docs: Calculates Coefficient of variation
  
  @param std
  @param mean
  @return