projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove font information from cell attributes and sheet model.
[pspp-builds.git]
/
src
/
math
/
design-matrix.h
diff --git
a/src/math/design-matrix.h
b/src/math/design-matrix.h
index 8d56d010c5974f0ebf558dc3d12989f96e96f093..ba7f984218261d5db40af8c41a864b51c1af886a 100644
(file)
--- a/
src/math/design-matrix.h
+++ b/
src/math/design-matrix.h
@@
-58,6
+58,9
@@
struct design_matrix
design_matrix_var
structure.
*/
design_matrix_var
structure.
*/
+ size_t *n_cases; /* Element i is the number of valid cases for this
+ variable.
+ */
size_t n_vars;
};
size_t n_vars;
};
@@
-82,5
+85,9
@@
size_t design_matrix_var_to_column (const struct design_matrix *,
const struct variable *design_matrix_col_to_var (const struct design_matrix *,
size_t);
const struct variable *design_matrix_col_to_var (const struct design_matrix *,
size_t);
+void design_matrix_increment_case_count (struct design_matrix *, const struct variable *);
+void design_matrix_set_case_count (struct design_matrix *, const struct variable *, size_t);
+
+size_t design_matrix_get_case_count (const struct design_matrix *, const struct variable *);
#endif
#endif