diff options
author | torset | 2009-01-30 15:13:30 +0000 |
---|---|---|
committer | torset | 2009-01-30 15:13:30 +0000 |
commit | 17002c94d058d6df10d773ea715f1108091700ce (patch) | |
tree | d05eff7b303a56b7ee98430d8b0584e7011e6fd2 /src | |
parent | 4a07e27214be51b83a59e69abe422b7be685e1b0 (diff) | |
download | scilab2c-17002c94d058d6df10d773ea715f1108091700ce.tar.gz scilab2c-17002c94d058d6df10d773ea715f1108091700ce.tar.bz2 scilab2c-17002c94d058d6df10d773ea715f1108091700ce.zip |
Remove unlinked files
Diffstat (limited to 'src')
-rw-r--r-- | src/Scilab2C/Scilab2C/CFiles/sci2ccode/cmeana.c | 24 | ||||
-rw-r--r-- | src/Scilab2C/Scilab2C/CFiles/sci2ccode/dmeana.c | 25 | ||||
-rw-r--r-- | src/Scilab2C/Scilab2C/CFiles/sci2ccode/smeana.c | 25 | ||||
-rw-r--r-- | src/Scilab2C/Scilab2C/CFiles/sci2ccode/zmeana.c | 24 |
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); -} |