diff options
Diffstat (limited to 'src/c/statisticsFunctions/min')
-rw-r--r-- | src/c/statisticsFunctions/min/dcolumnmina.c~ | 24 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/i16columnmina.c~ | 25 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/i16mina.c~ | 26 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/i16rowmina.c~ | 24 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/i8columnmina.c~ | 25 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/i8mina.c~ | 26 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/i8rowmina.c~ | 24 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/scolumnmina.c~ | 24 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/u16columnmina.c~ | 25 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/u16mina.c~ | 26 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/u16rowmina.c~ | 24 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/u8columnmina.c~ | 25 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/u8mina.c~ | 26 | ||||
-rw-r--r-- | src/c/statisticsFunctions/min/u8rowmina.c~ | 24 |
14 files changed, 0 insertions, 348 deletions
diff --git a/src/c/statisticsFunctions/min/dcolumnmina.c~ b/src/c/statisticsFunctions/min/dcolumnmina.c~ deleted file mode 100644 index 6f0b3c1..0000000 --- a/src/c/statisticsFunctions/min/dcolumnmina.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 "statMin.h" - -void dcolumnmina(double *in, int rows, int columns, double* out) { - int i = 0, j = 0; - - for (i = 0; i < rows; i++) { - out[i]=in[i*columns]; - for (j=0;j<columns;j++) - if (in[i+j*rows]<out[i]) out[i] = in[i+j*rows]; - } - -} diff --git a/src/c/statisticsFunctions/min/i16columnmina.c~ b/src/c/statisticsFunctions/min/i16columnmina.c~ deleted file mode 100644 index d38b7b5..0000000 --- a/src/c/statisticsFunctions/min/i16columnmina.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 "statMin.h" - -void i16columnmina(int16 *in, int rows, int columns, int16* out) { - int i = 0, j = 0; - - for (i = 0; i < rows; i++) { - out[i]=(int16)in[i*columns]; - for (j=0;j<columns;j++) - if (in[i+j*rows]<out[i]) - out[i] = (int16)in[i+j*rows]; - } - -} diff --git a/src/c/statisticsFunctions/min/i16mina.c~ b/src/c/statisticsFunctions/min/i16mina.c~ deleted file mode 100644 index 6afdd5d..0000000 --- a/src/c/statisticsFunctions/min/i16mina.c~ +++ /dev/null @@ -1,26 +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 "statMin.h" - -int16 i16mina(int16 *in, int size) { - int16 out = in[0]; - int i = 0; - - for (i = 1; i < size; ++i) - { - if (in[i]<out) - out = (int16)in[i]; - } - return out; - -} diff --git a/src/c/statisticsFunctions/min/i16rowmina.c~ b/src/c/statisticsFunctions/min/i16rowmina.c~ deleted file mode 100644 index adeeaaa..0000000 --- a/src/c/statisticsFunctions/min/i16rowmina.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 "statMin.h" - -void i16rowmina(int16 *in, int rows, int columns, int16* out) { - int i = 0, j = 0; - - for (i = 0; i < columns; i++) { - out[i]=(int16)in[i*rows]; - for (j = 1 ; j < rows ; j++) - if (in[i*rows+j]<out[i]) - out[i] = (int16)in[i*rows+j]; - } -} diff --git a/src/c/statisticsFunctions/min/i8columnmina.c~ b/src/c/statisticsFunctions/min/i8columnmina.c~ deleted file mode 100644 index 1e97d62..0000000 --- a/src/c/statisticsFunctions/min/i8columnmina.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 "statMin.h" - -void i8columnmina(int8 *in, int rows, int columns, int8* out) { - int i = 0, j = 0; - - for (i = 0; i < rows; i++) { - out[i]=(int8)in[i*columns]; - for (j=0;j<columns;j++) - if (in[i+j*rows]<out[i]) - out[i] = (int8)in[i+j*rows]; - } - -} diff --git a/src/c/statisticsFunctions/min/i8mina.c~ b/src/c/statisticsFunctions/min/i8mina.c~ deleted file mode 100644 index 07e8a10..0000000 --- a/src/c/statisticsFunctions/min/i8mina.c~ +++ /dev/null @@ -1,26 +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 "statMin.h" - -int8 i8mina(int8 *in, int size) { - int8 out = in[0]; - int i = 0; - - for (i = 1; i < size; ++i) - { - if (in[i]<out) - out = (int8)in[i]; - } - return out; - -} diff --git a/src/c/statisticsFunctions/min/i8rowmina.c~ b/src/c/statisticsFunctions/min/i8rowmina.c~ deleted file mode 100644 index 4ce9edc..0000000 --- a/src/c/statisticsFunctions/min/i8rowmina.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 "statMin.h" - -void i8rowmina(int8 *in, int rows, int columns, int8* out) { - int i = 0, j = 0; - - for (i = 0; i < columns; i++) { - out[i]=(int8)in[i*rows]; - for (j = 1 ; j < rows ; j++) - if (in[i*rows+j]<out[i]) - out[i] = (int8)in[i*rows+j]; - } -} diff --git a/src/c/statisticsFunctions/min/scolumnmina.c~ b/src/c/statisticsFunctions/min/scolumnmina.c~ deleted file mode 100644 index 8e19b1d..0000000 --- a/src/c/statisticsFunctions/min/scolumnmina.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 "statMin.h" - -void scolumnmina(float *in, int rows, int columns, float* out) { - int i = 0, j = 0; - - for (i = 0; i < rows; i++) { - out[i]=in[i*columns]; - for (j=0;j<columns;j++) - if (in[i+j*rows]<out[i]) out[i] = in[i+j*rows]; - } - -} diff --git a/src/c/statisticsFunctions/min/u16columnmina.c~ b/src/c/statisticsFunctions/min/u16columnmina.c~ deleted file mode 100644 index 96c86a6..0000000 --- a/src/c/statisticsFunctions/min/u16columnmina.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 "statMin.h" - -void u16columnmina(uint16 *in, int rows, int columns, uint16* out) { - int i = 0, j = 0; - - for (i = 0; i < rows; i++) { - out[i]=(uint16)in[i*columns]; - for (j=0;j<columns;j++) - if (in[i+j*rows]<out[i]) - out[i] = (uint16)in[i+j*rows]; - } - -} diff --git a/src/c/statisticsFunctions/min/u16mina.c~ b/src/c/statisticsFunctions/min/u16mina.c~ deleted file mode 100644 index 07c24ea..0000000 --- a/src/c/statisticsFunctions/min/u16mina.c~ +++ /dev/null @@ -1,26 +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 "statMin.h" - -uint16 u16mina(uint16 *in, int size) { - uint16 out = in[0]; - int i = 0; - - for (i = 1; i < size; ++i) - { - if (in[i]<out) - out = (uint16)in[i]; - } - return out; - -} diff --git a/src/c/statisticsFunctions/min/u16rowmina.c~ b/src/c/statisticsFunctions/min/u16rowmina.c~ deleted file mode 100644 index 5180977..0000000 --- a/src/c/statisticsFunctions/min/u16rowmina.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 "statMin.h" - -void u16rowmina(uint16 *in, int rows, int columns, uint16* out) { - int i = 0, j = 0; - - for (i = 0; i < columns; i++) { - out[i]=(uint16)in[i*rows]; - for (j = 1 ; j < rows ; j++) - if (in[i*rows+j]<out[i]) - out[i] = (uint16)in[i*rows+j]; - } -} diff --git a/src/c/statisticsFunctions/min/u8columnmina.c~ b/src/c/statisticsFunctions/min/u8columnmina.c~ deleted file mode 100644 index 4ced096..0000000 --- a/src/c/statisticsFunctions/min/u8columnmina.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 "statMin.h" - -void u8columnmina(uint8 *in, int rows, int columns, uint8* out) { - int i = 0, j = 0; - - for (i = 0; i < rows; i++) { - out[i]=(uint8)in[i*columns]; - for (j=0;j<columns;j++) - if (in[i+j*rows]<out[i]) - out[i] = (uint8)in[i+j*rows]; - } - -} diff --git a/src/c/statisticsFunctions/min/u8mina.c~ b/src/c/statisticsFunctions/min/u8mina.c~ deleted file mode 100644 index 16a7bb4..0000000 --- a/src/c/statisticsFunctions/min/u8mina.c~ +++ /dev/null @@ -1,26 +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 "statMin.h" - -uint8 u8mina(uint8 *in, int size) { - uint8 out = in[0]; - int i = 0; - - for (i = 1; i < size; ++i) - { - if (in[i]<out) - out = (uint8)in[i]; - } - return out; - -} diff --git a/src/c/statisticsFunctions/min/u8rowmina.c~ b/src/c/statisticsFunctions/min/u8rowmina.c~ deleted file mode 100644 index ddbe274..0000000 --- a/src/c/statisticsFunctions/min/u8rowmina.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 "statMin.h" - -void u8rowmina(uint8 *in, int rows, int columns, uint8* out) { - int i = 0, j = 0; - - for (i = 0; i < columns; i++) { - out[i]=(uint8)in[i*rows]; - for (j = 1 ; j < rows ; j++) - if (in[i*rows+j]<out[i]) - out[i] = (uint8)in[i*rows+j]; - } -} |