projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
file-handle-def.h (fh_ref): Add WARN_UNUSED_RESULT qualifier
[pspp]
/
src
/
math
/
order-stats.h
diff --git
a/src/math/order-stats.h
b/src/math/order-stats.h
index fc5889504a6c1360d1026047e68760fefa2f70d5..03011ea32c4116a3045e45a61e532c7dfa57bd87 100644
(file)
--- a/
src/math/order-stats.h
+++ b/
src/math/order-stats.h
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* 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
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>
#define __ORDER_STATS_H__
#include <stddef.h>
-#include <math/statistic.h>
+#include "data/missing-values.h"
+#include "math/statistic.h"
struct casereader;
struct variable;
struct casereader;
struct variable;
@@
-29,17
+30,11
@@
struct variable;
struct k
{
double tc;
struct k
{
double tc;
-
double cc;
double cc;
-
double cc_p1;
double cc_p1;
-
double c;
double c;
-
double c_p1;
double c_p1;
-
double y;
double y;
-
double y_p1;
};
double y_p1;
};
@@
-49,18
+44,25
@@
struct order_stats
struct statistic parent;
int n_k;
struct k *k;
struct statistic parent;
int n_k;
struct k *k;
-};
+ double cc;
+};
+enum mv_class;
-void
dump_ptile_k1 (const struct order_stats *ptl
);
+void
order_stats_dump (const struct order_stats *os
);
-void dump_ptile_k2 (const struct order_stats *ptl);
+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,
void order_stats_accumulate (struct order_stats **ptl, size_t nos,
- struct casereader *reader,
- const struct variable *wv,
- const struct variable *var);
+ struct casereader *reader,
+ const struct variable *wv,
+ const struct variable *var,
+ enum mv_class exclude);
#endif
#endif