projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
intern: Use UP_CAST macro instad of open-coding it.
[pspp]
/
src
/
language
/
stats
/
npar.h
diff --git
a/src/language/stats/npar.h
b/src/language/stats/npar.h
index 6aed01cf2c3509ff44e25d1a6052f9fc85924de7..367cf65d3bb2a07ac6a97f3e9646120d11ed7171 100644
(file)
--- a/
src/language/stats/npar.h
+++ b/
src/language/stats/npar.h
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006
, 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
@@
-19,19
+19,17
@@
#include <stddef.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdbool.h>
-#include <data/missing-values.h>
-
-#include <stddef.h>
-#include <data/missing-values.h>
+#include "data/missing-values.h"
+#include "data/value.h"
typedef const struct variable *variable_pair[2];
typedef const struct variable *variable_pair[2];
-struct hsh_table;
-struct const_hsh_table;
+struct hmapx;
struct casefilter;
struct casereader;
struct dataset;
struct casefilter;
struct casereader;
struct dataset;
+
struct npar_test
{
void (*execute) (const struct dataset *,
struct npar_test
{
void (*execute) (const struct dataset *,
@@
-42,9
+40,10
@@
struct npar_test
double);
void (*insert_variables) (const struct npar_test *,
double);
void (*insert_variables) (const struct npar_test *,
- struct
const_hsh_table
*);
+ struct
hmapx
*);
};
};
+
struct one_sample_test
{
struct npar_test parent;
struct one_sample_test
{
struct npar_test parent;
@@
-60,4
+59,14
@@
struct two_sample_test
};
};
+struct n_sample_test
+{
+ struct npar_test parent;
+ const struct variable **vars;
+ size_t n_vars;
+
+ union value val1, val2;
+ const struct variable *indep_var;
+};
+
#endif
#endif