Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-02 08:48:24

0001 #ifndef MATH_UTILS_H
0002 #define MATH_UTILS_H
0003 
0004 /**
0005  * @file MathUtils.h
0006  * @author Bryan BERTHOU (SPhN / CEA Saclay)
0007  * @date February 17, 2016
0008  * @version 1.0
0009  */
0010 
0011 namespace NumA {
0012 
0013 /**
0014  * @class MathUtils
0015  *
0016  * @brief Miscellaneous utilities (mathematical functions, etc).
0017  */
0018 class MathUtils {
0019 public:
0020     /**
0021      * Degree-radian conversion.
0022      * @param degree Angle in degree.
0023      * @return Angle in radian.
0024      */
0025     static double convertDegreeToRadian(double degree);
0026     /**
0027      * DiLograrithm function.
0028      * @param x
0029      * @return \f$ Li_2\left(x\right) \f$.
0030      */
0031     static double DiLog(double x);
0032 };
0033 
0034 } /* namespace NumA */
0035 
0036 #endif /* MATH_UTILS_H */