Add GRAPH command initially with just scatterplots and histograms.
[pspp] / src / math / order-stats.h
index cea50ed80d14b34976beccc3055d656fdb8ce2f8..03011ea32c4116a3045e45a61e532c7dfa57bd87 100644 (file)
@@ -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,7 +18,8 @@
 #define __ORDER_STATS_H__
 
 #include <stddef.h>
-#include <math/statistic.h>
+#include "data/missing-values.h"
+#include "math/statistic.h"
 
 struct casereader;
 struct variable;
@@ -51,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,