diff options
author | Brijeshcr | 2017-09-11 12:03:59 +0530 |
---|---|---|
committer | GitHub | 2017-09-11 12:03:59 +0530 |
commit | b2518f279a3005536e87e45302d4e05d9aeb6d3d (patch) | |
tree | 007de2537151d82e75a6015f47f228402144763e /2.3-1/src/c/statisticsFunctions/strange/dstrangecola.c | |
parent | a7ca3ed26f1fa8f51c586aba300005bf4a700cc4 (diff) | |
parent | 75558fc35bebe72c6db7e1b3b0c7ae214aa4fc8e (diff) | |
download | Scilab2C-b2518f279a3005536e87e45302d4e05d9aeb6d3d.tar.gz Scilab2C-b2518f279a3005536e87e45302d4e05d9aeb6d3d.tar.bz2 Scilab2C-b2518f279a3005536e87e45302d4e05d9aeb6d3d.zip |
Merged and added functions
Diffstat (limited to '2.3-1/src/c/statisticsFunctions/strange/dstrangecola.c')
-rw-r--r-- | 2.3-1/src/c/statisticsFunctions/strange/dstrangecola.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/2.3-1/src/c/statisticsFunctions/strange/dstrangecola.c b/2.3-1/src/c/statisticsFunctions/strange/dstrangecola.c new file mode 100644 index 00000000..d6a11e3d --- /dev/null +++ b/2.3-1/src/c/statisticsFunctions/strange/dstrangecola.c @@ -0,0 +1,37 @@ +/* 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 +*/ + + +#include "strange.h" +#include "types.h" +#include "uint16.h" +#include "stdio.h" + +void dstrangecola(double *in, int row, int col, double* out) +{ + double inter[col]; + + +for(int i=0; i< row; i++) + { + for(int j=0 ; j< col; j++) + { + inter[j]= in[i+ (j*row)]; + + } + + out[i]= dstrangea(inter, col); + + } + + +} |