diff options
author | Brijeshcr | 2017-07-20 19:35:19 +0530 |
---|---|---|
committer | Brijeshcr | 2017-07-20 19:35:19 +0530 |
commit | 9a2e3e3174a9ff35ba9b739cec4a0b8c052a8dbe (patch) | |
tree | 45a5d0e55b407912099a13e3d902293d0383df84 /2.3-1/src/c/specialFunctions/erfinv/serfinva.c | |
parent | 2e35a1f26a7ec9e4466a5e0448f9a868aa801471 (diff) | |
download | Scilab2C-9a2e3e3174a9ff35ba9b739cec4a0b8c052a8dbe.tar.gz Scilab2C-9a2e3e3174a9ff35ba9b739cec4a0b8c052a8dbe.tar.bz2 Scilab2C-9a2e3e3174a9ff35ba9b739cec4a0b8c052a8dbe.zip |
Added erfinv
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..56e47c2a --- /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] = derfinvs(inp1[i]); + } +} + |