|
Fast Research Interface Library
Manual and Documentation
|
00001 // ---------------------- Doxygen info ---------------------- 00048 // ---------------------------------------------------------- 00049 // For a convenient reading of this file's source code, 00050 // please use a tab width of four characters. 00051 // ---------------------------------------------------------- 00052 00053 00054 #ifndef __TypeIRMLMath__ 00055 #define __TypeIRMLMath__ 00056 00057 00058 //******************************************************************************************* 00059 // Include files 00060 00061 00062 00063 namespace TypeIRMLMath 00064 { 00065 00066 //******************************************************************************************* 00067 // Definitions and macros 00068 00069 00070 00071 00072 // ---------------------- Doxygen info ---------------------- 00077 // ---------------------------------------------------------- 00078 #define RML_INFINITY ((double)1.0e100) 00079 00080 00081 // ---------------------- Doxygen info ---------------------- 00086 // ---------------------------------------------------------- 00087 #define RML_DENOMINATOR_EPSILON ((double)1.0e-12) 00088 00089 00090 // ---------------------- Doxygen info ---------------------- 00096 // ---------------------------------------------------------- 00097 #define RML_MIN_VALUE_FOR_MAXVELOCITY ((double)1.0e-4) 00098 00099 00100 // ---------------------- Doxygen info ---------------------- 00106 // ---------------------------------------------------------- 00107 #define RML_MIN_VALUE_FOR_MAXACCELERATION ((double)1.0e-4) 00108 00109 00110 // ---------------------- Doxygen info ---------------------- 00121 // ---------------------------------------------------------- 00122 #define pow2(A) ((A)*(A)) 00123 00124 00125 // ---------------------- Doxygen info ---------------------- 00138 // ---------------------------------------------------------- 00139 double RMLSqrt(const double &Value); 00140 00141 00142 } // namespace TypeIRMLMath 00143 00144 #endif