From 29388094e30cae9f11ba82360c1d9bc03b229d10 Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Thu, 20 Jul 2017 21:03:09 +0530 Subject: Added Erfcx --- src/c/specialFunctions/erfcx/derfcxs.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/c/specialFunctions/erfcx/derfcxs.c (limited to 'src/c/specialFunctions/erfcx/derfcxs.c') diff --git a/src/c/specialFunctions/erfcx/derfcxs.c b/src/c/specialFunctions/erfcx/derfcxs.c new file mode 100644 index 0000000..ff12b2f --- /dev/null +++ b/src/c/specialFunctions/erfcx/derfcxs.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 +#include +#include +#include "erfcx.h" +#include "erfc.h" + +double derfcxs(double inp1) +{ + return exp(inp1*inp1)*derfcs(inp1); +} + -- cgit