projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New functions to return the sum and weights associated with categorical variables
[pspp-builds.git]
/
src
/
math
/
categoricals.h
diff --git
a/src/math/categoricals.h
b/src/math/categoricals.h
index 2cec0b45cd3822ebbc6d7aff70ec34bf4b7ca530..9e58f59eb0c2890bc6260089a1369b4cf9cb5629 100644
(file)
--- a/
src/math/categoricals.h
+++ b/
src/math/categoricals.h
@@
-51,8
+51,14
@@
const struct variable * categoricals_get_variable_by_subscript (const struct cat
const union value * categoricals_get_value_by_subscript (const struct categoricals *cat, int subscript);
const union value * categoricals_get_value_by_subscript (const struct categoricals *cat, int subscript);
+double categoricals_get_weight_by_subscript (const struct categoricals *cat, int subscript);
+
+double categoricals_get_sum_by_subscript (const struct categoricals *cat, int subscript);
+
double categoricals_get_binary_by_subscript (const struct categoricals *cat, int subscript,
const struct ccase *c);
double categoricals_get_binary_by_subscript (const struct categoricals *cat, int subscript,
const struct ccase *c);
+
+
#endif
#endif