Change license from GPLv2+ to GPLv3+.
[pspp-builds.git] / src / math / levene.h
index edbcd80e3fbe1d17b8b6a639e421eda26a8362aa..67a4a1155b7813d6d84a37fe4987aada81e40f0e 100644 (file)
@@ -1,37 +1,29 @@
-/* This file is part of GNU PSPP 
-   Computes Levene test  statistic.
-
+/* PSPP - a program for statistical analysis.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   Written by John Darrington <john@darrington.wattle.id.au>
 
-   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 <http://www.gnu.org/licenses/>. */
 
 #if !levene_h
 #define levene_h 1
 
+#include <data/casereader.h>
+#include <data/missing-values.h>
+#include <data/variable.h>
 
-#include "variable.h"
-#include "casefile.h"
-
-/* What to do with missing values */
-enum lev_missing { LEV_ANALYSIS, LEV_LISTWISE };
+/* Calculate the Levene statistic
 
-/* Calculate the Levene statistic 
-
-The independent variable :   v_indep; 
+The independent variable :   v_indep;
 
 Number of dependent variables :   n_dep;
 
@@ -40,9 +32,13 @@ The dependent variables :   v_dep;
 */
 
 
-void  levene(const struct casefile *cf, 
-            struct variable *v_indep, size_t n_dep, struct variable **v_dep,
-            enum lev_missing,   is_missing_func);
+struct dictionary ;
+struct casefilter ;
+
+void  levene(const struct dictionary *dict, struct casereader *,
+            const struct variable *v_indep, size_t n_dep,
+            const struct variable **v_dep,
+            enum mv_class exclude);