summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Scilab2C/Scilab2C/CFiles/sci2ccode/cmeana.c24
-rw-r--r--src/Scilab2C/Scilab2C/CFiles/sci2ccode/dmeana.c25
-rw-r--r--src/Scilab2C/Scilab2C/CFiles/sci2ccode/smeana.c25
-rw-r--r--src/Scilab2C/Scilab2C/CFiles/sci2ccode/zmeana.c24
4 files changed, 0 insertions, 98 deletions
diff --git a/src/Scilab2C/Scilab2C/CFiles/sci2ccode/cmeana.c b/src/Scilab2C/Scilab2C/CFiles/sci2ccode/cmeana.c
deleted file mode 100644
index ad2a66fc..00000000
--- a/src/Scilab2C/Scilab2C/CFiles/sci2ccode/cmeana.c
+++ /dev/null
@@ -1,24 +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
- *
- */
-
-#include "mean.h"
-
-floatComplex cmeana(floatComplex *in, int size) {
- floatComplex accumulate = FloatComplex(0.0f, 0.0f);
- int i = 0;
-
- for (i = 0; i < size; ++i)
- {
- accumulate = cadds(accumulate, in[i]);
- }
- return FloatComplex(creals(accumulate) / (float) size, cimags(accumulate) / (float) size);
-}
diff --git a/src/Scilab2C/Scilab2C/CFiles/sci2ccode/dmeana.c b/src/Scilab2C/Scilab2C/CFiles/sci2ccode/dmeana.c
deleted file mode 100644
index db11766a..00000000
--- a/src/Scilab2C/Scilab2C/CFiles/sci2ccode/dmeana.c
+++ /dev/null
@@ -1,25 +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
- *
- */
-
-#include "mean.h"
-
-double dmeana(double *in, int size) {
- double accumulate = 0.0;
- int i = 0;
-
- for (i = 0; i < size; ++i)
- {
- accumulate += in[i];
- }
- return accumulate / (double) size;
-
-}
diff --git a/src/Scilab2C/Scilab2C/CFiles/sci2ccode/smeana.c b/src/Scilab2C/Scilab2C/CFiles/sci2ccode/smeana.c
deleted file mode 100644
index f4b1cd10..00000000
--- a/src/Scilab2C/Scilab2C/CFiles/sci2ccode/smeana.c
+++ /dev/null
@@ -1,25 +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
- *
- */
-
-#include "mean.h"
-
-float smeana(float *in, int size) {
- float accumulate = 0.0f;
- int i = 0;
-
- for (i = 0; i < size; ++i)
- {
- accumulate += in[i];
- }
- return accumulate / (float) size;
-
-}
diff --git a/src/Scilab2C/Scilab2C/CFiles/sci2ccode/zmeana.c b/src/Scilab2C/Scilab2C/CFiles/sci2ccode/zmeana.c
deleted file mode 100644
index aae80ffc..00000000
--- a/src/Scilab2C/Scilab2C/CFiles/sci2ccode/zmeana.c
+++ /dev/null
@@ -1,24 +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
- *
- */
-
-#include "mean.h"
-
-doubleComplex zmeana(doubleComplex *in, int size) {
- doubleComplex accumulate = DoubleComplex(0.0f, 0.0f);
- int i = 0;
-
- for (i = 0; i < size; ++i)
- {
- accumulate = zadds(accumulate, in[i]);
- }
- return DoubleComplex(zreals(accumulate) / (double) size, zimags(accumulate) / (double) size);
-}