X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fbox-whisker.h;h=ccafef1fc9069a509c064f813374356339a6775a;hb=71131a5290c10c9edc03056ccbf9e6eb0e70e9b4;hp=bef091e83b448dafc5c601fab3d04eb0d60f19f6;hpb=b46b794dfb9f0758aafec83f50993d1930894099;p=pspp diff --git a/src/math/box-whisker.h b/src/math/box-whisker.h index bef091e83b..ccafef1fc9 100644 --- a/src/math/box-whisker.h +++ b/src/math/box-whisker.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008, 2009, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,15 +18,15 @@ #define __MATH_BOX_WHISKER_H__ #include -#include -#include -#include "order-stats.h" +#include "libpspp/ll.h" +#include "libpspp/str.h" +#include "math/order-stats.h" /* This module calculates the statistics typically displayed by box-plots. However, there's no reason not to use it for other purposes too. */ struct tukey_hinges; - +struct variable; struct outlier { @@ -48,12 +48,12 @@ 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 *, - const struct variable *, size_t); + size_t id_idx, const struct variable *id_var); void box_whisker_whiskers (const struct box_whisker *bw, double whiskers[2]);