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/erfcx/serfcxs.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/erfcx/serfcxs.c')
-rw-r--r-- | 2.3-1/src/c/specialFunctions/erfcx/serfcxs.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2.3-1/src/c/specialFunctions/erfcx/serfcxs.c b/2.3-1/src/c/specialFunctions/erfcx/serfcxs.c new file mode 100644 index 00000000..be31a5a8 --- /dev/null +++ b/2.3-1/src/c/specialFunctions/erfcx/serfcxs.c @@ -0,0 +1,23 @@ +/* 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 "erfcx.h" +#include "erfc.h" + +float serfcxs(float inp1) +{ + return exp(inp1*inp1)*derfcs(inp1); +} + |