summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/specialFunctions/includes/erfc.h
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/includes/erfc.h
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/includes/erfc.h')
-rw-r--r--2.3-1/src/c/specialFunctions/includes/erfc.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/2.3-1/src/c/specialFunctions/includes/erfc.h b/2.3-1/src/c/specialFunctions/includes/erfc.h
new file mode 100644
index 00000000..77847ab5
--- /dev/null
+++ b/2.3-1/src/c/specialFunctions/includes/erfc.h
@@ -0,0 +1,36 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
+ *
+ * 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
+ *
+ */
+
+#ifndef __ERFC_H__
+#define __ERFC_H__
+#include "types.h"
+#include "floatComplex.h"
+#include "doubleComplex.h"
+#include "uint8.h"
+#include "uint16.h"
+#include "int16.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+double derfcs(double inp1);
+void derfca(double* inp1, int sizer, int sizec,double* out);
+float serfcs(float inp1);
+void serfca(float* inp1, int sizer, int sizec, float* out);
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /*__ERFC_H__*/