From dfef4e3f4cec36ef9dfe2b9ef4d29caa8fddb656 Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Mon, 11 Sep 2017 16:55:58 +0530 Subject: 4 Bessil functions added --- src/c/specialFunctions/interfaces/int_besseli.h | 28 +++++++++++++++++++++++++ src/c/specialFunctions/interfaces/int_besselj.h | 28 +++++++++++++++++++++++++ src/c/specialFunctions/interfaces/int_besselk.h | 28 +++++++++++++++++++++++++ src/c/specialFunctions/interfaces/int_bessely.h | 28 +++++++++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 src/c/specialFunctions/interfaces/int_besseli.h create mode 100644 src/c/specialFunctions/interfaces/int_besselj.h create mode 100644 src/c/specialFunctions/interfaces/int_besselk.h create mode 100644 src/c/specialFunctions/interfaces/int_bessely.h (limited to 'src/c/specialFunctions/interfaces') diff --git a/src/c/specialFunctions/interfaces/int_besseli.h b/src/c/specialFunctions/interfaces/int_besseli.h new file mode 100644 index 0000000..e11c48c --- /dev/null +++ b/src/c/specialFunctions/interfaces/int_besseli.h @@ -0,0 +1,28 @@ +/* Copyright (C) 2017 - 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 + */ +#ifndef __INT_BESSELI_H__ +#define __INT_BESSELI_H__ + +#ifdef __cplusplus +extern "C" { +#endif + + +#define d2d2besselid2(in1, size1, in2, size2, out) dbesselia(in1,size1[0]*size1[1], in2, size2[0]*size2[1], out) +#define s2s2besselis2(in1, size1, in2, size2, out) sbesselia(in1,size1[0]*size1[1], in2, size2[0]*size2[1], out) + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /*__INT_BESSELI_H__*/ diff --git a/src/c/specialFunctions/interfaces/int_besselj.h b/src/c/specialFunctions/interfaces/int_besselj.h new file mode 100644 index 0000000..cc0d85e --- /dev/null +++ b/src/c/specialFunctions/interfaces/int_besselj.h @@ -0,0 +1,28 @@ +/* Copyright (C) 2017 - 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 + */ +#ifndef __INT_BESSELJ_H__ +#define __INT_BESSELJ_H__ + +#ifdef __cplusplus +extern "C" { +#endif + + +#define d2d2besseljd2(in1, size1, in2, size2, out) dbesselja(in1,size1[0]*size1[1], in2, size2[0]*size2[1], out) +#define s2s2besseljs2(in1, size1, in2, size2, out) sbesselja(in1,size1[0]*size1[1], in2, size2[0]*size2[1], out) + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /*__INT_BESSELJ_H__*/ diff --git a/src/c/specialFunctions/interfaces/int_besselk.h b/src/c/specialFunctions/interfaces/int_besselk.h new file mode 100644 index 0000000..16b9c4b --- /dev/null +++ b/src/c/specialFunctions/interfaces/int_besselk.h @@ -0,0 +1,28 @@ +/* Copyright (C) 2017 - 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 + */ +#ifndef __INT_BESSELK_H__ +#define __INT_BESSELK_H__ + +#ifdef __cplusplus +extern "C" { +#endif + + +#define d2d2besselkd2(in1, size1, in2, size2, out) dbesselka(in1,size1[0]*size1[1], in2, size2[0]*size2[1], out) +#define s2s2besselks2(in1, size1, in2, size2, out) sbesselka(in1,size1[0]*size1[1], in2, size2[0]*size2[1], out) + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /*__INT_BESSELK_H__*/ diff --git a/src/c/specialFunctions/interfaces/int_bessely.h b/src/c/specialFunctions/interfaces/int_bessely.h new file mode 100644 index 0000000..749c876 --- /dev/null +++ b/src/c/specialFunctions/interfaces/int_bessely.h @@ -0,0 +1,28 @@ +/* Copyright (C) 2017 - 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 + */ +#ifndef __INT_BESSELY_H__ +#define __INT_BESSELY_H__ + +#ifdef __cplusplus +extern "C" { +#endif + + +#define d2d2besselyd2(in1, size1, in2, size2, out) dbesselya(in1,size1[0]*size1[1], in2, size2[0]*size2[1], out) +#define s2s2besselys2(in1, size1, in2, size2, out) sbesselya(in1,size1[0]*size1[1], in2, size2[0]*size2[1], out) + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /*__INT_BESSELY_H__*/ -- cgit