summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/specialFunctions/erf/derfs.c
diff options
context:
space:
mode:
authorBrijeshcr2017-07-14 18:01:26 +0530
committerBrijeshcr2017-07-14 18:01:26 +0530
commit2e35a1f26a7ec9e4466a5e0448f9a868aa801471 (patch)
tree5d289a280e2e5bea4580bfe25fe845b3fae7c7d4 /2.3-1/src/c/specialFunctions/erf/derfs.c
parente826d667659a225bf8c514dceb5d063752c2c3f8 (diff)
downloadScilab2C-2e35a1f26a7ec9e4466a5e0448f9a868aa801471.tar.gz
Scilab2C-2e35a1f26a7ec9e4466a5e0448f9a868aa801471.tar.bz2
Scilab2C-2e35a1f26a7ec9e4466a5e0448f9a868aa801471.zip
ERF, ERFC and Demos added
Diffstat (limited to '2.3-1/src/c/specialFunctions/erf/derfs.c')
-rw-r--r--2.3-1/src/c/specialFunctions/erf/derfs.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/2.3-1/src/c/specialFunctions/erf/derfs.c b/2.3-1/src/c/specialFunctions/erf/derfs.c
new file mode 100644
index 00000000..22b5d642
--- /dev/null
+++ b/2.3-1/src/c/specialFunctions/erf/derfs.c
@@ -0,0 +1,22 @@
+/* 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 "erf.h"
+
+double derfs(double inp1)
+{
+ return erf(inp1);
+}
+