1 /* PSPP - a program for statistical analysis.
2 Copyright (C) 2004, 2008, 2011 Free Software Foundation, Inc.
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
17 #ifndef __ORDER_STATS_H__
18 #define __ORDER_STATS_H__
21 #include "data/missing-values.h"
22 #include "math/statistic.h"
44 struct statistic parent;
53 void order_stats_dump (const struct order_stats *os);
56 order_stats_accumulate_idx (struct order_stats **os, size_t nos,
57 struct casereader *reader,
62 void order_stats_accumulate (struct order_stats **ptl, size_t nos,
63 struct casereader *reader,
64 const struct variable *wv,
65 const struct variable *var,
66 enum mv_class exclude);