X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fcovariance.h;h=6ec645b7e27009df8b195aa96ef32604795e46e8;hb=refs%2Fbuilds%2F20110627030508%2Fpspp;hp=f12e994d52fd6f89d33cbdcb9e5f46e4689d117c;hpb=3c5fcaa67efcee56981c16b543fb9f679787a486;p=pspp diff --git a/src/math/covariance.h b/src/math/covariance.h index f12e994d52..6ec645b7e2 100644 --- a/src/math/covariance.h +++ b/src/math/covariance.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,10 +18,9 @@ #ifndef COVARIANCE_H #define COVARIANCE_H -#include - -#include #include +#include +#include "data/missing-values.h" struct covariance; struct variable; @@ -49,4 +48,6 @@ const gsl_matrix *covariance_moments (const struct covariance *cov, int m); const struct categoricals * covariance_get_categoricals (const struct covariance *cov); +void covariance_get_var_indices (const struct covariance *cov, struct variable **vars); +size_t covariance_dim (const struct covariance * cov); #endif