From 60dc24077bf42ddf1b8973915350dfabdf5b040a Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Tue, 8 Aug 2017 18:55:55 +0530 Subject: Added Sind and Tand --- .../c/elementaryFunctions/interfaces/int_sind.h | 23 ++++++++++++++++++++++ .../c/elementaryFunctions/interfaces/int_tand.h | 23 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 2.3-1/src/c/elementaryFunctions/interfaces/int_sind.h create mode 100644 2.3-1/src/c/elementaryFunctions/interfaces/int_tand.h (limited to '2.3-1/src/c/elementaryFunctions/interfaces') diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_sind.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_sind.h new file mode 100644 index 00000000..780a6965 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_sind.h @@ -0,0 +1,23 @@ + /* 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_SIND_H__ +#define __INT_SIND_H__ + +#define d0sindd0(in) dsinds(in) +#define s0sinds0(in) ssinds(in) +#define s0sindd0(in) ssinds(in) +#define d2sindd2(in, size1, out) dsinda(in, size1[0]*size1[1], out) +#define s2sinds2(in, size1, out) ssinda(in, size1[0]*size1[1], out) +#define s2sindd2(in, size1, out) ssinda(in, size1[0]*size1[1], out) + +#endif /* !__INT_SIND_H__ */ diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_tand.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_tand.h new file mode 100644 index 00000000..d2fb30ea --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_tand.h @@ -0,0 +1,23 @@ + /* 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_TAND_H__ +#define __INT_TAND_H__ + +#define d0tandd0(in) dtands(in) +#define s0tands0(in) stands(in) +#define s0tandd0(in) stands(in) +#define d2tandd2(in, size1, out) dtanda(in, size1[0]*size1[1], out) +#define s2tands2(in, size1, out) standa(in, size1[0]*size1[1], out) +#define s2tandd2(in, size1, out) standa(in, size1[0]*size1[1], out) + +#endif /* !__INT_TAND_H__ */ -- cgit