projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fri Feb 11 00:08:36 2005 Ben Pfaff <blp@gnu.org>
[pspp]
/
src
/
factor_stats.h
diff --git
a/src/factor_stats.h
b/src/factor_stats.h
index b05d7423e05f3d7a352c965993d644c5b4734364..259694e8fc5aafd2d982404b57f958a1f2e86d6e 100644
(file)
--- a/
src/factor_stats.h
+++ b/
src/factor_stats.h
@@
-27,6
+27,7
@@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#include "hash.h"
#include "val.h"
#include "hash.h"
#include "val.h"
+#include <string.h>
#include <gsl/gsl_histogram.h>
#include "subclist.h"
#include "percentiles.h"
#include <gsl/gsl_histogram.h>
#include "subclist.h"
#include "percentiles.h"
@@
-85,6
+86,8
@@
struct metrics
};
};
+struct metrics * metrics_create(void);
+
void metrics_precalc(struct metrics *m);
void metrics_calc(struct metrics *m, const union value *f, double weight,
void metrics_precalc(struct metrics *m);
void metrics_calc(struct metrics *m, const union value *f, double weight,
@@
-92,6
+95,9
@@
void metrics_calc(struct metrics *m, const union value *f, double weight,
void metrics_postcalc(struct metrics *m);
void metrics_postcalc(struct metrics *m);
+void metrics_destroy(struct metrics *m);
+
+
/* Linked list of case nos */
struct case_node
/* Linked list of case nos */
struct case_node
@@
-133,6
+139,8
@@
struct factor_statistics {
/* The an array stats for this factor, one for each dependent var */
struct metrics *m;
/* The an array stats for this factor, one for each dependent var */
struct metrics *m;
+ /* The number of dependent variables */
+ int n_var;
};
};