X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fcovariance.h;h=eef6019ddfe4259b58f9f049ba6bd40bcd153bc9;hb=7919fa5fc1f94ad0097507d20e2deea52ed06df8;hp=a52cfced31ae22b8109b9c9a5f29205c1fc13fd1;hpb=3dd0f6ae0d5eb73a2270a243e443c4ae03c2c16e;p=pspp diff --git a/src/math/covariance.h b/src/math/covariance.h index a52cfced31..eef6019ddf 100644 --- a/src/math/covariance.h +++ b/src/math/covariance.h @@ -28,12 +28,12 @@ struct ccase ; struct categoricals; struct covariance * covariance_1pass_create (size_t n_vars, const struct variable *const *vars, - const struct variable *wv, enum mv_class excl); + const struct variable *wv, enum mv_class excl, bool centered); struct covariance * covariance_2pass_create (size_t n_vars, const struct variable *const *vars, struct categoricals *cats, - const struct variable *wv, enum mv_class excl); + const struct variable *wv, enum mv_class excl, bool centered); void covariance_accumulate (struct covariance *, const struct ccase *); void covariance_accumulate_pass1 (struct covariance *, const struct ccase *); @@ -49,14 +49,8 @@ const gsl_matrix *covariance_moments (const struct covariance *cov, int m); const struct categoricals * covariance_get_categoricals (const struct covariance *cov); size_t covariance_dim (const struct covariance * cov); -struct tab_table ; -void -covariance_dump_enc (const struct covariance *cov, const struct ccase *c, - struct tab_table *t); - -struct tab_table * -covariance_dump_enc_header (const struct covariance *cov, int length); - - +struct pivot_table *covariance_dump_enc_header (const struct covariance *); +void covariance_dump_enc (const struct covariance *, const struct ccase *, + struct pivot_table *); #endif