summaryrefslogtreecommitdiff
path: root/src/statisticsFunctions/includes
diff options
context:
space:
mode:
Diffstat (limited to 'src/statisticsFunctions/includes')
-rw-r--r--src/statisticsFunctions/includes/dynlib_statisticsfunctions.h26
-rw-r--r--src/statisticsFunctions/includes/mean.h99
-rw-r--r--src/statisticsFunctions/includes/prod.h100
-rw-r--r--src/statisticsFunctions/includes/statMax.h63
-rw-r--r--src/statisticsFunctions/includes/statMin.h63
-rw-r--r--src/statisticsFunctions/includes/sum.h102
-rw-r--r--src/statisticsFunctions/includes/variance.h117
7 files changed, 0 insertions, 570 deletions
diff --git a/src/statisticsFunctions/includes/dynlib_statisticsfunctions.h b/src/statisticsFunctions/includes/dynlib_statisticsfunctions.h
deleted file mode 100644
index e9e71405..00000000
--- a/src/statisticsFunctions/includes/dynlib_statisticsfunctions.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-* Copyright (C) 2009 - DIGITEO - Allan CORNET
-*
-* This file must be used under the terms of the CeCILL.
-* This source file is licensed as described in the file COPYING, which
-* you should have received as part of this distribution. The terms
-* are also available at
-* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
-*
-*/
-
-#ifndef __DYNLIB_STATISTICSFUNCTIONS_H__
-#define __DYNLIB_STATISTICSFUNCTIONS_H__
-
-#ifdef _MSC_VER
- #if STATISTICSFUNCTIONS_EXPORTS
- #define EXTERN_STATFUNC __declspec (dllexport)
- #else
- #define EXTERN_STATFUNC __declspec (dllimport)
- #endif
-#else
- #define EXTERN_STATFUNC
-#endif
-
-#endif /* __DYNLIB_STATISTICSFUNCTIONS_H__ */ \ No newline at end of file
diff --git a/src/statisticsFunctions/includes/mean.h b/src/statisticsFunctions/includes/mean.h
deleted file mode 100644
index d87c4ca5..00000000
--- a/src/statisticsFunctions/includes/mean.h
+++ /dev/null
@@ -1,99 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
- *
- */
-
-#ifndef __MEAN_H__
-#define __MEAN_H__
-
-#include "dynlib_statisticsfunctions.h"
-#include "division.h"
-#include "addition.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
-** \brief Mean of a scalar element, just returns it
-*/
-#define smeans(in) in
-#define srowmeans(in) in
-#define scolumnmeans(in) in
-#define smatlabmeans(in) in
-
-/*
-** \brief Mean of a scalar element, just returns it
-*/
-#define dmeans(in) in
-#define drowmeans(in) in
-#define dcolumnmeans(in) in
-#define dmatlabmeans(in) in
-
-/*
-** \brief Mean of a scalar element, just returns it
-*/
-#define cmeans(in) in
-#define crowmeans(in) in
-#define ccolumnmeans(in) in
-#define cmatlabmeans(in) in
-
-/*
-** \brief Mean of a scalar element, just returns it
-*/
-#define zmeans(in) in
-#define zrowmeans(in) in
-#define zcolumnmeans(in) in
-#define zmatlabmeans(in) in
-
-/*
-** \brief Mean of a float array
-** \param in the float array to process
-** \param size, the size of the array
-** \returns the mean.
-*/
-EXTERN_STATFUNC float smeana(float *in, int size);
-EXTERN_STATFUNC void srowmeana(float *in, int lines, int columns, float* out);
-EXTERN_STATFUNC void scolumnmeana(float *in, int lines, int columns, float* out);
-
-/*
-** \brief Mean of a double array
-** \param in the double array to process
-** \param size, the size of the array
-** \returns the mean.
-*/
-EXTERN_STATFUNC double dmeana(double *in, int size);
-EXTERN_STATFUNC void drowmeana(double *in, int lines, int columns, double* out);
-EXTERN_STATFUNC void dcolumnmeana(double *in, int lines, int columns, double* out);
-
-/*
-** \brief Mean of a float complex array
-** \param in the float array to process
-** \param size, the size of the array
-** \returns the mean.
-*/
-EXTERN_STATFUNC floatComplex cmeana(floatComplex *in, int size);
-EXTERN_STATFUNC void crowmeana(floatComplex *in, int lines, int columns, floatComplex* out);
-EXTERN_STATFUNC void ccolumnmeana(floatComplex *in, int lines, int columns, floatComplex* out);
-
-/*
-** \brief Mean of a double complex array
-** \param in the double array to process
-** \param size, the size of the array
-** \returns the mean.
-*/
-EXTERN_STATFUNC doubleComplex zmeana(doubleComplex *in, int size);
-EXTERN_STATFUNC void zrowmeana(doubleComplex *in, int lines, int columns, doubleComplex* out);
-EXTERN_STATFUNC void zcolumnmeana(doubleComplex *in, int lines, int columns, doubleComplex* out);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* !__MEAN_H__ */
diff --git a/src/statisticsFunctions/includes/prod.h b/src/statisticsFunctions/includes/prod.h
deleted file mode 100644
index a5fde84c..00000000
--- a/src/statisticsFunctions/includes/prod.h
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
- *
- */
-
-#ifndef __PROD_H__
-#define __PROD_H__
-
-#include "dynlib_statisticsfunctions.h"
-#include "floatComplex.h"
-#include "doubleComplex.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define sprods(in) in
-#define srowprods(in) in
-#define scolumnprods(in) in
-#define smatlabprods(in) in
-
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define dprods(in) in
-#define drowprods(in) in
-#define dcolumnprods(in) in
-#define dmatlabprods(in) in
-
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define cprods(in) in
-#define crowprods(in) in
-#define ccolumnprods(in) in
-#define cmatlabprods(in) in
-
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define zprods(in) in
-#define zrowprods(in) in
-#define zcolumnprods(in) in
-#define zmatlabprods(in) in
-
-/*
-** \brief Sum of a float array
-** \param in the float array to process
-** \param size, the size of the array
-** \returns the prod.
-*/
-EXTERN_STATFUNC float sproda(float *in, int size);
-EXTERN_STATFUNC void srowproda(float *in, int lines, int columns, float* out);
-EXTERN_STATFUNC void scolumnproda(float *in, int lines, int columns, float* out);
-
-/*
-** \brief Sum of a double array
-** \param in the double array to process
-** \param size, the size of the array
-** \returns the prod.
-*/
-EXTERN_STATFUNC double dproda(double *in, int size);
-EXTERN_STATFUNC void drowproda(double *in, int lines, int columns, double* out);
-EXTERN_STATFUNC void dcolumnproda(double *in, int lines, int columns, double* out);
-
-/*
-** \brief Sum of a float complex array
-** \param in the float array to process
-** \param size, the size of the array
-** \returns the prod.
-*/
-EXTERN_STATFUNC floatComplex cproda(floatComplex *in, int size);
-EXTERN_STATFUNC void crowproda(floatComplex *in, int lines, int columns, floatComplex* out);
-EXTERN_STATFUNC void ccolumnproda(floatComplex *in, int lines, int columns, floatComplex* out);
-
-/*
-** \brief Sum of a double complex array
-** \param in the double array to process
-** \param size, the size of the array
-** \returns the prod.
-*/
-EXTERN_STATFUNC doubleComplex zproda(doubleComplex *in, int size);
-EXTERN_STATFUNC void zrowproda(doubleComplex *in, int lines, int columns, doubleComplex* out);
-EXTERN_STATFUNC void zcolumnproda(doubleComplex *in, int lines, int columns, doubleComplex* out);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-
-#endif /* !__PROD_H__ */
diff --git a/src/statisticsFunctions/includes/statMax.h b/src/statisticsFunctions/includes/statMax.h
deleted file mode 100644
index 3538bc1a..00000000
--- a/src/statisticsFunctions/includes/statMax.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
- *
- */
-
-#ifndef __STAT_MAX_H__
-#define __STAT_MAX_H__
-
-#include "dynlib_statisticsfunctions.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define smaxs(in) in
-#define srowmaxs(in) in
-#define scolumnmaxs(in) in
-#define smatlabmaxs(in) in
-
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define dmaxs(in) in
-#define drowmaxs(in) in
-#define dcolumnmaxs(in) in
-#define dmatlabmaxs(in) in
-
-/*
-** \brief Sum of a float array
-** \param in the float array to process
-** \param size, the size of the array
-** \returns the max.
-*/
-EXTERN_STATFUNC float smaxa(float *in, int size);
-EXTERN_STATFUNC void srowmaxa(float *in, int lines, int columns, float* out);
-EXTERN_STATFUNC void scolumnmaxa(float *in, int lines, int columns, float* out);
-
-/*
-** \brief Sum of a double array
-** \param in the double array to process
-** \param size, the size of the array
-** \returns the max.
-*/
-EXTERN_STATFUNC double dmaxa(double *in, int size);
-EXTERN_STATFUNC void drowmaxa(double *in, int lines, int columns, double* out);
-EXTERN_STATFUNC void dcolumnmaxa(double *in, int lines, int columns, double* out);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-
-#endif /* !__STAT_MAX_H__ */
diff --git a/src/statisticsFunctions/includes/statMin.h b/src/statisticsFunctions/includes/statMin.h
deleted file mode 100644
index 9528d9f4..00000000
--- a/src/statisticsFunctions/includes/statMin.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
- *
- */
-
-#ifndef __STAT_MIN_H__
-#define __STAT_MIN_H__
-
-#include "dynlib_statisticsfunctions.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define smins(in) in
-#define srowmins(in) in
-#define scolumnmins(in) in
-#define smatlabmins(in) in
-
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define dmins(in) in
-#define drowmins(in) in
-#define dcolumnmins(in) in
-#define dmatlabmins(in) in
-
-/*
-** \brief Sum of a float array
-** \param in the float array to process
-** \param size, the size of the array
-** \returns the min.
-*/
-EXTERN_STATFUNC float smina(float *in, int size);
-EXTERN_STATFUNC void srowmina(float *in, int lines, int columns, float* out);
-EXTERN_STATFUNC void scolumnmina(float *in, int lines, int columns, float* out);
-
-/*
-** \brief Sum of a double array
-** \param in the double array to process
-** \param size, the size of the array
-** \returns the min.
-*/
-EXTERN_STATFUNC double dmina(double *in, int size);
-EXTERN_STATFUNC void drowmina(double *in, int lines, int columns, double* out);
-EXTERN_STATFUNC void dcolumnmina(double *in, int lines, int columns, double* out);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-
-#endif /* !__STAT_MIN_H__ */
diff --git a/src/statisticsFunctions/includes/sum.h b/src/statisticsFunctions/includes/sum.h
deleted file mode 100644
index 2910792e..00000000
--- a/src/statisticsFunctions/includes/sum.h
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
- *
- */
-
-#ifndef __SUM_H__
-#define __SUM_H__
-
-#include "dynlib_statisticsfunctions.h"
-#include "floatComplex.h"
-#include "doubleComplex.h"
-#include "addition.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define ssums(in) in
-#define srowsums(in) in
-#define scolumnsums(in) in
-#define smatlabsums(in) in
-
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define dsums(in) in
-#define drowsums(in) in
-#define dcolumnsums(in) in
-#define dmatlabsums(in) in
-
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define csums(in) in
-#define crowsums(in) in
-#define ccolumnsums(in) in
-#define cmatlabsums(in) in
-
-/*
-** \brief Sum of a scalar element, just returns it
-*/
-#define zsums(in) in
-#define zrowsums(in) in
-#define zcolumnsums(in) in
-#define zmatlabsums(in) in
-
-/*
-** \brief Sum of a float array
-** \param in the float array to process
-** \param size, the size of the array
-** \returns the sum.
-*/
-EXTERN_STATFUNC float ssuma(float *in, int size);
-EXTERN_STATFUNC void srowsuma(float *in, int lines, int columns, float* out);
-EXTERN_STATFUNC void scolumnsuma(float *in, int lines, int columns, float* out);
-
-/*
-** \brief Sum of a double array
-** \param in the double array to process
-** \param size, the size of the array
-** \returns the sum.
-*/
-EXTERN_STATFUNC double dsuma(double *in, int size);
-EXTERN_STATFUNC void drowsuma(double *in, int lines, int columns, double* out);
-EXTERN_STATFUNC void dcolumnsuma(double *in, int lines, int columns, double* out);
-
-/*
-** \brief Sum of a float complex array
-** \param in the float array to process
-** \param size, the size of the array
-** \returns the sum.
-*/
-EXTERN_STATFUNC floatComplex csuma(floatComplex *in, int size);
-EXTERN_STATFUNC void crowsuma(floatComplex *in, int lines, int columns, floatComplex* out);
-EXTERN_STATFUNC void ccolumnsuma(floatComplex *in, int lines, int columns, floatComplex* out);
-
-/*
-** \brief Sum of a double complex array
-** \param in the double array to process
-** \param size, the size of the array
-** \returns the sum.
-*/
-EXTERN_STATFUNC doubleComplex zsuma(doubleComplex *in, int size);
-EXTERN_STATFUNC void zrowsuma(doubleComplex *in, int lines, int columns, doubleComplex* out);
-EXTERN_STATFUNC void zcolumnsuma(doubleComplex *in, int lines, int columns, doubleComplex* out);
-
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* !__SUM_H__ */
diff --git a/src/statisticsFunctions/includes/variance.h b/src/statisticsFunctions/includes/variance.h
deleted file mode 100644
index a058bb75..00000000
--- a/src/statisticsFunctions/includes/variance.h
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Allan SIMON
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
- *
- */
-
-#ifndef __VARIANCE_H__
-#define __VARIANCE_H__
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <math.h>
-
-
-#include "dynlib_statisticsfunctions.h"
-#include "subtraction.h"
-#include "division.h"
-
-#include "pow.h"
-#include "sum.h"
-
-#include "mean.h"
-#include "matrixTranspose.h"
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-
-
-
-/*
-** \brief Variance of a scalar element, just returns it
-*/
-#define svariances(in) in
-#define srowvariances(in) in
-#define scolumnvariances(in) in
-
-
-/*
-** \brief Variance of a scalar element, just returns it
-*/
-#define dvariances(in) in
-#define drowvariances(in) in
-#define dcolumnvariances(in) in
-
-
-/*
-** \brief Variance of a scalar element, just returns it
-*/
-#define cvariances(in) in
-#define crowvariances(in) in
-#define ccolumnvariances(in) in
-
-
-/*
-** \brief Variance of a scalar element, just returns it
-*/
-#define zvariances(in) in
-#define zrowvariances(in) in
-#define zcolumnvariances(in) in
-
-
-/*
-** \brief Variance of a float array
-** \param in the float array to process
-** \param size, the size of the array
-** \returns the variance.
-*/
-EXTERN_STATFUNC float svariancea(float *in, int size);
-EXTERN_STATFUNC void srowvariancea(float *in, int lines, int columns, float* out);
-EXTERN_STATFUNC void scolumnvariancea(float *in, int lines, int columns, float* out);
-
-/*
-** \brief Variance of a double array
-** \param in the double array to process
-** \param size, the size of the array
-** \returns the variance.
-*/
-EXTERN_STATFUNC double dvariancea(double *in, int size);
-EXTERN_STATFUNC void drowvariancea(double *in, int lines, int columns, double* out);
-EXTERN_STATFUNC void dcolumnvariancea(double *in, int lines, int columns, double* out);
-
-/*
-** \brief Variance of a float complex array
-** \param in the float array to process
-** \param size, the size of the array
-** \returns the variance.
-*/
-EXTERN_STATFUNC floatComplex cvariancea(floatComplex *in, int size);
-EXTERN_STATFUNC void crowvariancea(floatComplex *in, int lines, int columns, floatComplex* out);
-EXTERN_STATFUNC void ccolumnvariancea(floatComplex *in, int lines, int columns, floatComplex* out);
-
-/*
-** \brief Variance of a double complex array
-** \param in the double array to process
-** \param size, the size of the array
-** \returns the variance.
-*/
-EXTERN_STATFUNC doubleComplex zvariancea(doubleComplex *in, int size);
-EXTERN_STATFUNC void zrowvariancea(doubleComplex *in, int lines, int columns, doubleComplex* out);
-EXTERN_STATFUNC void zcolumnvariancea(doubleComplex *in, int lines, int columns, doubleComplex* out);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-
-#endif /* !__VARIANCE_H__ */