diff options
author | Brijeshcr | 2017-07-14 18:01:26 +0530 |
---|---|---|
committer | Brijeshcr | 2017-07-14 18:01:26 +0530 |
commit | ce5c0f9d407d533364e9e7adc81e4d338e031383 (patch) | |
tree | 26defae9d1a7b339ed5d5f979b63e815ac3beeba /src/c/specialFunctions/includes | |
parent | 4f8c0f6aa5dddea07d84287ec2fb96276bd606d2 (diff) | |
download | Scilab2C_fossee_old-ce5c0f9d407d533364e9e7adc81e4d338e031383.tar.gz Scilab2C_fossee_old-ce5c0f9d407d533364e9e7adc81e4d338e031383.tar.bz2 Scilab2C_fossee_old-ce5c0f9d407d533364e9e7adc81e4d338e031383.zip |
ERF, ERFC and Demos added
Diffstat (limited to 'src/c/specialFunctions/includes')
-rw-r--r-- | src/c/specialFunctions/includes/erf.h | 35 | ||||
-rw-r--r-- | src/c/specialFunctions/includes/erfc.h | 36 |
2 files changed, 71 insertions, 0 deletions
diff --git a/src/c/specialFunctions/includes/erf.h b/src/c/specialFunctions/includes/erf.h new file mode 100644 index 0000000..86bb15d --- /dev/null +++ b/src/c/specialFunctions/includes/erf.h @@ -0,0 +1,35 @@ +/* + * 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 __ERF_H__ +#define __ERF_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 derfs(double inp1); +float serfs(float inp1); +void derfa(double* inp1, int sizer, int sizec,double* out); +void serfa(float* inp1, int sizer, int sizec,float* out); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /*__ERF_H__*/ diff --git a/src/c/specialFunctions/includes/erfc.h b/src/c/specialFunctions/includes/erfc.h new file mode 100644 index 0000000..77847ab --- /dev/null +++ b/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__*/ |