diff options
author | Brijeshcr | 2017-07-18 11:50:51 +0530 |
---|---|---|
committer | GitHub | 2017-07-18 11:50:51 +0530 |
commit | 753a1302afb561e618d554b7d8b2c21e50562c43 (patch) | |
tree | ca35baab9f80f50bfdce12ffd00257e3b297df95 /2.3-1/src/c/statisticsFunctions/includes | |
parent | 966afe93dbda0568dc376534ac94704ebbfb0329 (diff) | |
parent | ecbb528a2b7823d0512f3869f4d220e568c10025 (diff) | |
download | Scilab2C-753a1302afb561e618d554b7d8b2c21e50562c43.tar.gz Scilab2C-753a1302afb561e618d554b7d8b2c21e50562c43.tar.bz2 Scilab2C-753a1302afb561e618d554b7d8b2c21e50562c43.zip |
Merge pull request #19 from abhinavdronamraju/master
Updated the functions added. Changes are able to merge.
Diffstat (limited to '2.3-1/src/c/statisticsFunctions/includes')
-rw-r--r-- | 2.3-1/src/c/statisticsFunctions/includes/median.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/2.3-1/src/c/statisticsFunctions/includes/median.h b/2.3-1/src/c/statisticsFunctions/includes/median.h new file mode 100644 index 00000000..accb5df0 --- /dev/null +++ b/2.3-1/src/c/statisticsFunctions/includes/median.h @@ -0,0 +1,46 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + 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 + Author: Abhinav Dronamraju + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + + +#ifndef __MEDIAN_H__ +#define __MEDIAN_H__ + +#include "types.h" +#include "doubleComplex.h" +#include "uint16.h" + +#ifdef __cplusplus +extern "C" { +#endif + +double dmediana(double* , int ); +void dmedianrowa(double*, int, int, double*); +void dmediancola(double*, int, int, double*); + +float smediana(float* , int ); +void smedianrowa(float*, int, int, float*); +void smediancola(float*, int, int, float*); + +uint16 u16mediana(uint16* , int ); +void u16medianrowa(uint16*, int, int, uint16*); +void u16mediancola(uint16*, int, int, uint16*); + +doubleComplex zmediana(doubleComplex* , int ); +void zmedianrowa(doubleComplex*, int, int, doubleComplex*); +void zmediancola(doubleComplex*, int, int, doubleComplex*); + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /*__MATRIX_H__*/ |