diff options
author | Abhinav Dronamraju | 2017-07-10 21:01:37 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-07-10 21:01:37 +0530 |
commit | c1874d367d68cb47b82cc7a1173caaf38e9e3d68 (patch) | |
tree | 2e0e39079e6859fac430136d2d86dff6a8a1828c /2.3-1/src/c/elementaryFunctions/includes | |
parent | 441f3e61481c1de99bbc408292224eb28a62bea7 (diff) | |
download | Scilab2C-c1874d367d68cb47b82cc7a1173caaf38e9e3d68.tar.gz Scilab2C-c1874d367d68cb47b82cc7a1173caaf38e9e3d68.tar.bz2 Scilab2C-c1874d367d68cb47b82cc7a1173caaf38e9e3d68.zip |
Nthroot added
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/includes')
5 files changed, 87 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/includes/iscolumn.h b/2.3-1/src/c/elementaryFunctions/includes/iscolumn.h index ac1de9db..e9711766 100644 --- a/2.3-1/src/c/elementaryFunctions/includes/iscolumn.h +++ b/2.3-1/src/c/elementaryFunctions/includes/iscolumn.h @@ -17,6 +17,7 @@ #include "types.h" #include "doubleComplex.h" #include "floatComplex.h" +#include "uint16.h" #ifdef __cplusplus extern "C" { @@ -30,6 +31,9 @@ char giscolumna(char* , int); char giscolumns(char); char ziscolumna(doubleComplex*, int); char ziscolumns(doubleComplex); +char u16iscolumna(uint16*, int); +char u16iscolumns(uint16); + #ifdef __cplusplus } /* extern "C" */ diff --git a/2.3-1/src/c/elementaryFunctions/includes/isrow.h b/2.3-1/src/c/elementaryFunctions/includes/isrow.h index 8c9f7ced..2de7da3d 100644 --- a/2.3-1/src/c/elementaryFunctions/includes/isrow.h +++ b/2.3-1/src/c/elementaryFunctions/includes/isrow.h @@ -17,6 +17,7 @@ #include "types.h" #include "doubleComplex.h" #include "floatComplex.h" +#include "uint16.h" #ifdef __cplusplus extern "C" { @@ -30,6 +31,8 @@ char gisrowa(char* , int); char gisrows(char); char zisrowa(doubleComplex*, int); char zisrows(doubleComplex); +char u16isrowa(uint16*, int); +char u16isrows(uint16); #ifdef __cplusplus } /* extern "C" */ diff --git a/2.3-1/src/c/elementaryFunctions/includes/issquare.h b/2.3-1/src/c/elementaryFunctions/includes/issquare.h new file mode 100644 index 00000000..70e4c455 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/includes/issquare.h @@ -0,0 +1,38 @@ +/* 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: Abhinav Dronamraju + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#ifndef __ISSQUARE_H__ +#define __ISSQUARE_H__ + + +#include "types.h" +#include "doubleComplex.h" +#include "floatComplex.h" + +#ifdef __cplusplus +extern "C" { +#endif + +char dissquarea(double* , int, int); +char dissquares(double); +char sissquarea( float* , int, int); +char sissquares( float); +char gissquarea(char* , int, int); +char gissquares(char); +char zissquarea(doubleComplex*, int, int); +char zissquares(doubleComplex); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/2.3-1/src/c/elementaryFunctions/includes/nthroot.h b/2.3-1/src/c/elementaryFunctions/includes/nthroot.h new file mode 100644 index 00000000..62b533a0 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/includes/nthroot.h @@ -0,0 +1,37 @@ +/* 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: Abhinav Dronamraju + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#ifndef __NTHROOT_H__ +#define __NTHROOT_H__ + + +#include "types.h" +#include "doubleComplex.h" +#include "floatComplex.h" +#include "uint16.h" + +#ifdef __cplusplus +extern "C" { +#endif + +void dnthroota(double* , int ,int , double*, int , int, double*); +void dnthroot1a(double*, int , int, double, double*); +double dnthroots(double, double); +void snthroota(float* , int ,int , float*, int , int, double*); +void snthroot1a(float*, int , int, float, double*); +double snthroots(float, float); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/2.3-1/src/c/elementaryFunctions/includes/pow.h b/2.3-1/src/c/elementaryFunctions/includes/pow.h index de1eb409..2905b7ed 100644 --- a/2.3-1/src/c/elementaryFunctions/includes/pow.h +++ b/2.3-1/src/c/elementaryFunctions/includes/pow.h @@ -15,6 +15,11 @@ #include "dynlib_elementaryfunctions.h" #include "multiplication.h" +#include "floatComplex.h" +#include "doubleComplex.h" +#include "uint8.h" +#include "uint16.h" +#include "int16.h" #ifdef __cplusplus extern "C" { |