00001 #ifndef gridripper_math_SpecMath_h 00002 #define gridripper_math_SpecMath_h 00003 00004 #include <gridripper/config.h> 00005 #include <gridripper/lang/IllegalArgumentException.h> 00006 00007 namespace gridripper { namespace math { 00008 00009 /* 00010 * Special math functions. 00011 * 00012 * @version 0.5, 06/17/2009 00013 * @since GridRipper 0.5, 12/06/2008 00014 * @author Peter Csizmadia 00015 */ 00016 00022 GReal_t LambertW(GReal_t x) throw(IllegalArgumentException&); 00023 00031 GReal_t smoothH(GReal_t x, GReal_t delta); 00032 00040 GReal_t dsmoothH(GReal_t x, GReal_t delta); 00041 00049 GReal_t d2smoothH(GReal_t x, GReal_t delta); 00050 00059 int solve_cubic_eq_real(GReal_t a0, GReal_t a1, GReal_t a2, GReal_t* x); 00060 00061 } } // namespace gridripper 00062 00063 #endif /* gridripper_math_SpecMath_h */