diff options
author | Abhinav Dronamraju | 2017-07-20 21:48:58 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-07-20 21:48:58 +0530 |
commit | 1b3e75b3c9bf71e5c01924ae4b48deb25390d8bb (patch) | |
tree | c22ebdb6dc9890adea15e7cbc035d7a4104632d4 /2.3-1/src/c/specialFunctions/erfinv/serfinva.c | |
parent | b0df4c8bb591d5df8a2401b15ea36c6402161c53 (diff) | |
parent | ff4002be02814ace57c646accf6753142732fc6c (diff) | |
download | Scilab2C-1b3e75b3c9bf71e5c01924ae4b48deb25390d8bb.tar.gz Scilab2C-1b3e75b3c9bf71e5c01924ae4b48deb25390d8bb.tar.bz2 Scilab2C-1b3e75b3c9bf71e5c01924ae4b48deb25390d8bb.zip |
Added demos and merged FOSSEE master
Diffstat (limited to '2.3-1/src/c/specialFunctions/erfinv/serfinva.c')
-rw-r--r-- | 2.3-1/src/c/specialFunctions/erfinv/serfinva.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/2.3-1/src/c/specialFunctions/erfinv/serfinva.c b/2.3-1/src/c/specialFunctions/erfinv/serfinva.c new file mode 100644 index 00000000..3a14f3c8 --- /dev/null +++ b/2.3-1/src/c/specialFunctions/erfinv/serfinva.c @@ -0,0 +1,25 @@ +/* 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: Brijesh Gupta C R + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include <stdio.h> +#include <stdlib.h> +#include <math.h> +#include "erfinv.h" + +void serfinva(float* inp1, int sizer, int sizec,float* out) +{ + for (int i = 0; i < sizer*sizec; i++) + { + out[i] = serfinvs(inp1[i]); + } +} + |