X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fcovariance-matrix.h;fp=src%2Fmath%2Fcovariance-matrix.h;h=0000000000000000000000000000000000000000;hb=f550aee00a62fe1d8baf62d83cd7efef6cc2ee92;hp=c16e5cbc4dfde7d3056b05a32363769e43175251;hpb=18ef561271ad1b619f62d994e3dc2286958532f1;p=pspp-builds.git diff --git a/src/math/covariance-matrix.h b/src/math/covariance-matrix.h deleted file mode 100644 index c16e5cbc..00000000 --- a/src/math/covariance-matrix.h +++ /dev/null @@ -1,61 +0,0 @@ -/* PSPP - a program for statistical analysis. - Copyright (C) 2008 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 - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -/* - Create covariance matrices for procedures that need them. - */ - -#ifndef COVARIANCE_MATRIX_H -#define COVARIANCE_MATRIX_H - -#include -#include - -struct moments1; -struct ccase; -struct hsh_table; -struct covariance_matrix; -enum -{ ONE_PASS, - TWO_PASS -}; - -/* - How to deal with missing values. - */ -enum -{ LISTWISE, - PAIRWISE -}; -struct design_matrix *covariance_matrix_create (size_t, const struct variable *[]); - -void covariance_matrix_destroy (struct covariance_matrix *); -void covariance_pass_two (struct design_matrix *, double, - double, double, const struct variable *, - const struct variable *, const union value *, - const union value *); -void covariance_matrix_compute (struct covariance_matrix *); -struct covariance_matrix *covariance_matrix_init (size_t, - const struct variable *[], - int, int, enum mv_class); -void covariance_matrix_free (struct covariance_matrix *); -void covariance_matrix_accumulate (struct covariance_matrix *, - const struct ccase *, void **, size_t); -struct design_matrix *covariance_to_design (const struct covariance_matrix *); -double covariance_matrix_get_element (const struct covariance_matrix *, size_t, size_t); -void covariance_interaction_set (struct covariance_matrix *, - const struct interaction_variable **, size_t); -#endif