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/interfaces/int_nthroot.h | |
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/interfaces/int_nthroot.h')
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/interfaces/int_nthroot.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_nthroot.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_nthroot.h new file mode 100644 index 00000000..aa48fcc9 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_nthroot.h @@ -0,0 +1,23 @@ + /*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 __INT_NTHROOT_H__ +#define __INT_NTHROOT_H__ + +#define d2d2nthrootd2(in1, size1, in2, size2, out) dnthroota(in1, size1[0], size1[1], in2, size2[0], size2[1], out) +#define d2d0nthrootd2(in1, size1, in2, out) dnthroot1a(in1, size1[0], size1[1], in2, out) +#define d0d0nthrootd0(in1, in2) dnthroots(in1, in2) +#define s2s2nthrootd2(in1, size1, in2, size2, out) snthroota(in1, size1[0], size1[1], in2, size2[0], size2[1], out) +#define s2s0nthrootd2(in1, size1, in2, out) snthroot1a(in1, size1[0], size1[1], in2, out) +#define s0s0nthrootd0(in1, in2) snthroots(in1, in2) + +#endif |