X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Forder-stats.h;h=03011ea32c4116a3045e45a61e532c7dfa57bd87;hb=80595f6de2ea8f0b64756d76c7ac3c89a1abbbb8;hp=07da284aa26af9faa95df9872d00163092471686;hpb=2cae74e57bd1bc78f09ef0b01411d3ba83a9857d;p=pspp diff --git a/src/math/order-stats.h b/src/math/order-stats.h index 07da284aa2..03011ea32c 100644 --- a/src/math/order-stats.h +++ b/src/math/order-stats.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2004, 2008 Free Software Foundation, Inc. + Copyright (C) 2004, 2008, 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,8 +18,8 @@ #define __ORDER_STATS_H__ #include -#include -#include +#include "data/missing-values.h" +#include "math/statistic.h" struct casereader; struct variable; @@ -52,6 +52,13 @@ enum mv_class; void order_stats_dump (const struct order_stats *os); +void +order_stats_accumulate_idx (struct order_stats **os, size_t nos, + struct casereader *reader, + int wt_idx, + int val_idx); + + void order_stats_accumulate (struct order_stats **ptl, size_t nos, struct casereader *reader, const struct variable *wv,