X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fnpar-summary.h;h=a78d1b7e2a22c7241f84b37d74b4fe85100b401d;hb=81579d9e9f994fb2908f50af41c3eb033d216e58;hp=1a5125b671ae56b34c0d376ebc3c1dc64c98b3c7;hpb=d7d263511bd18042408c40d5536c20c59988ee15;p=pspp-builds.git diff --git a/src/language/stats/npar-summary.h b/src/language/stats/npar-summary.h index 1a5125b6..a78d1b7e 100644 --- a/src/language/stats/npar-summary.h +++ b/src/language/stats/npar-summary.h @@ -1,30 +1,27 @@ -/* PSPP - computes sample statistics. - Copyright (C) 2006 Free Software Foundation, Inc. +/* PSPP - a program for statistical analysis. + Copyright (C) 2006, 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 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 !n_par_summary_h #define n_par_summary_h 1 -#include +#include "data/missing-values.h" struct variable ; -struct casefile ; +struct casereader ; struct dictionary; -struct casefilter; struct descriptives { @@ -35,18 +32,16 @@ struct descriptives double max; }; +void +do_summary_box (const struct descriptives *desc, + const struct variable *const *vv, + int n_vars); + void npar_summary_calc_descriptives (struct descriptives *desc, - const struct casefile *cf, - struct casefilter *filter, + struct casereader *input, const struct dictionary *dict, - const struct variable *const *vv, - int n_vars); - - -void do_summary_box (const struct descriptives *desc, - const struct variable *const *vv, - int n_vars); - - + const struct variable *const *vv, + int n_vars, + enum mv_class filter); #endif