X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fbox-whisker.h;h=2dd5b5c609da2b0857396235da676672d32e0ec0;hb=919daf4b00ff2072c0fc957ae8554d047336f984;hp=c9b2bef8d37d5227502eed9a48855e9771dde9e3;hpb=00473f96a19f9b4fc8b9dbe54dc165f2742b1140;p=pspp diff --git a/src/math/box-whisker.h b/src/math/box-whisker.h index c9b2bef8d3..2dd5b5c609 100644 --- a/src/math/box-whisker.h +++ b/src/math/box-whisker.h @@ -26,6 +26,7 @@ However, there's no reason not to use it for other purposes too. */ struct tukey_hinges; +struct variable; struct outlier { @@ -47,15 +48,16 @@ struct box_whisker double step; - size_t casenumber_idx; + size_t id_idx; + const struct variable *id_var; }; struct box_whisker * box_whisker_create (const struct tukey_hinges *, - size_t); + size_t id_idx, const struct variable *id_var); void box_whisker_whiskers (const struct box_whisker *bw, double whiskers[2]); -void box_whisker_hinges (const struct box_whisker *bw, double hinges[2]); +void box_whisker_hinges (const struct box_whisker *bw, double hinges[3]); const struct ll_list * box_whisker_outliers (const struct box_whisker *bw);