projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work on MATRIX and MCONVERT commands.
[pspp]
/
src
/
language
/
data-io
/
matrix-reader.h
diff --git
a/src/language/data-io/matrix-reader.h
b/src/language/data-io/matrix-reader.h
index 7a651d7866e2a320ee74a1203d9e5bef88687cf4..f3ac7000d57cef196f5db9976142caf4483312c8 100644
(file)
--- a/
src/language/data-io/matrix-reader.h
+++ b/
src/language/data-io/matrix-reader.h
@@
-22,15
+22,18
@@
struct matrix_material
{
struct matrix_material
{
- gsl_matrix *corr
;
/* The correlation matrix */
- gsl_matrix *cov
;
/* The covariance matrix */
+ gsl_matrix *corr
;
/* The correlation matrix */
+ gsl_matrix *cov
;
/* The covariance matrix */
/* Moment matrices */
/* Moment matrices */
-
const gsl_matrix *n ;
/* MOMENT 0 */
-
const gsl_matrix *mean_matrix;
/* MOMENT 1 */
-
const gsl_matrix *var_matrix;
/* MOMENT 2 */
+
gsl_matrix *n;
/* MOMENT 0 */
+
gsl_matrix *mean_matrix;
/* MOMENT 1 */
+
gsl_matrix *var_matrix;
/* MOMENT 2 */
};
};
+#define MATRIX_MATERIAL_INIT { .corr = NULL }
+void matrix_material_uninit (struct matrix_material *);
+
struct dictionary;
struct variable;
struct casereader;
struct dictionary;
struct variable;
struct casereader;