X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fnpar.h;h=6aed01cf2c3509ff44e25d1a6052f9fc85924de7;hb=719074919206c376cf4b0971213caa173af22c89;hp=9118a44ce8e26b7b6b04ef7693bfa48c7c2c06fc;hpb=08e4a9535a7e1de9cc4b6e619e70805ab951b323;p=pspp-builds.git diff --git a/src/language/stats/npar.h b/src/language/stats/npar.h index 9118a44c..6aed01cf 100644 --- a/src/language/stats/npar.h +++ b/src/language/stats/npar.h @@ -1,47 +1,54 @@ -/* PSPP - computes sample statistics. +/* PSPP - a program for statistical analysis. Copyright (C) 2006 Free Software Foundation, Inc. - Written by John Darrington - 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 2 of the - License, or (at your option) any later version. + 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. + 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, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #if !npar_h #define npar_h 1 -typedef struct variable *var_ptr; -typedef var_ptr variable_pair[2]; +#include +#include +#include + +#include +#include + +typedef const struct variable *variable_pair[2]; struct hsh_table; -struct casefilter ; +struct const_hsh_table; +struct casefilter; +struct casereader; +struct dataset; struct npar_test { - void (*execute) (const struct dataset *, - const struct casefile *, - struct casefilter *, - const struct npar_test * - ); - - void (*insert_variables) (const struct npar_test *, - struct hsh_table *); + void (*execute) (const struct dataset *, + struct casereader *, + enum mv_class exclude, + const struct npar_test *, + bool, + double); + + void (*insert_variables) (const struct npar_test *, + struct const_hsh_table *); }; struct one_sample_test { struct npar_test parent; - struct variable **vars; + const struct variable **vars; size_t n_vars; };