aGrUM  0.14.1
math.h File Reference

Useful macros for maths. More...

#include <cmath>
+ Include dependency graph for math.h:

Go to the source code of this file.

Macros

#define M_LOG2E   1.4426950408889634074 /* log_2 e */
 
#define M_PI   3.14159265358979323846
 
#define M_LN2   0.69314718055994530942 /* log_e 2 */
 
#define GUM_LOG_SQRT_2PI   .91893853320467274177
 

Detailed Description

Useful macros for maths.

Author
Christophe GONZALES and Pierre-Henri WUILLEMIN

Definition in file math.h.

Macro Definition Documentation

◆ GUM_LOG_SQRT_2PI

#define GUM_LOG_SQRT_2PI   .91893853320467274177

Definition at line 45 of file math.h.

◆ M_LN2

#define M_LN2   0.69314718055994530942 /* log_e 2 */

Definition at line 41 of file math.h.

Referenced by gum::learning::Miic::_findBestContributor().

◆ M_LOG2E

#define M_LOG2E   1.4426950408889634074 /* log_2 e */

Definition at line 33 of file math.h.

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 37 of file math.h.