X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fpercentiles.h;h=87ef708af2af7a3c2d3168bbc3d2437ceec2a3e5;hb=f5c108becd49d78f4898cab11352291f5689d24e;hp=a0dcf85ed30e5fc240858c4a06a22437a84b05fe;hpb=7eee0554f378481faf447e2d2e940f389d6b05ec;p=pspp-builds.git diff --git a/src/math/percentiles.h b/src/math/percentiles.h index a0dcf85e..87ef708a 100644 --- a/src/math/percentiles.h +++ b/src/math/percentiles.h @@ -27,11 +27,11 @@ struct weighted_value ; /* The algorithm used to calculate percentiles */ enum pc_alg { - PC_NONE=0, - PC_HAVERAGE, - PC_WAVERAGE, - PC_ROUND, - PC_EMPIRICAL, + PC_NONE=0, + PC_HAVERAGE, + PC_WAVERAGE, + PC_ROUND, + PC_EMPIRICAL, PC_AEMPIRICAL } ; @@ -65,15 +65,15 @@ void ptiles(struct hsh_table *pc_hash, /* Calculate Tukey's Hinges and the Whiskers for the box plot*/ void tukey_hinges(const struct weighted_value **wv, - int n_data, + int n_data, double w, double hinges[3]); /* Hash utility functions */ -int ptile_compare(const struct percentile *p1, - const struct percentile *p2, +int ptile_compare(const struct percentile *p1, + const struct percentile *p2, void *aux); unsigned ptile_hash(const struct percentile *p, void *aux);