projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/stable'
[pspp-builds.git]
/
src
/
data
/
category.h
diff --git
a/src/data/category.h
b/src/data/category.h
index db4bb339bcb5e6ecab1bd0de98a76632dfe20f95..f90ae7cd2809e9b3b96d8968de1c1f1ae71e0610 100644
(file)
--- a/
src/data/category.h
+++ b/
src/data/category.h
@@
-32,7
+32,7
@@
#ifndef CATEGORY_H
#define CATEGORY_H
#ifndef CATEGORY_H
#define CATEGORY_H
-
+#include <stdbool.h>
#include <stddef.h>
struct cat_vals;
#include <stddef.h>
struct cat_vals;
@@
-61,5
+61,9
@@
cat_get_category_count (const size_t, const struct variable *);
*/
size_t cat_get_n_categories (const struct variable *v);
*/
size_t cat_get_n_categories (const struct variable *v);
-
+/*
+ If VAR is categorical with d categories, its first category should
+ correspond to the origin in d-dimensional Euclidean space.
+ */
+bool cat_is_origin (const struct variable *, const union value *);
#endif
#endif