1 /*************************************************************************** 2 math_fun.hpp - mathematical GDL library function 3 ------------------- 4 begin : July 22 2002 5 copyright : (C) 2002 by Marc Schellens 6 email : m_schellens@users.sf.net 7 ***************************************************************************/ 8 9 /*************************************************************************** 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 ***************************************************************************/ 17 18 #ifndef MATH_FUN_HPP_ 19 #define MATH_FUN_HPP_ 20 21 #include "datatypes.hpp" 22 #include "envt.hpp" 23 24 namespace lib { 25 26 void svdc( EnvT* e); 27 28 BaseGDL* sin_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 29 BaseGDL* cos_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 30 BaseGDL* tan_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 31 32 BaseGDL* sinh_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 33 BaseGDL* cosh_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 34 BaseGDL* tanh_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 35 36 BaseGDL* asin_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 37 BaseGDL* acos_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 38 BaseGDL* atan_fun( EnvT* e); 39 40 BaseGDL* alog_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 41 BaseGDL* alog10_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 42 43 BaseGDL* sqrt_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 44 BaseGDL* abs_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 45 46 BaseGDL* round_fun( EnvT* e); 47 BaseGDL* floor_fun( EnvT* e); 48 BaseGDL* ceil_fun( EnvT* e); 49 50 BaseGDL* conj_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 51 BaseGDL* imaginary_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 52 BaseGDL* real_part_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 53 54 BaseGDL* exp_fun( BaseGDL* p0, bool isReference);//( EnvT* e); 55 56 // by medericboquien@users.sourceforge.net 57 BaseGDL* gauss_pdf(EnvT* e); 58 BaseGDL* gauss_cvf(EnvT* e); 59 BaseGDL* t_pdf(EnvT* e); 60 BaseGDL* laguerre(EnvT* e); 61 62 // by Sylwester Arabas 63 BaseGDL* ll_arc_distance(EnvT* e); 64 BaseGDL* crossp(EnvT* e); 65 BaseGDL* gdl_erfinv_fun(EnvT* e); 66 67 } // namespace 68 69 #endif 70