PhyStar  v0.0.0 thu24
mathconstants.hpp File Reference
#include <math.h>
#include <complex>
Include dependency graph for mathconstants.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 mathconst
 

Macros

#define _USE_MATH_DEFINES
 

Functions

static const std::complex< double > mathconst::cONE (0., 1.)
 
static const std::complex< double > mathconst::cZERO (0., 0.)
 

Variables

static constexpr auto mathconst::E = M_E
 
static constexpr auto mathconst::PI = M_PI
 
static constexpr auto mathconst::PI2 = PI * PI
 
static constexpr auto mathconst::PI3 = PI * PI * PI
 
static constexpr auto mathconst::PI_2 = M_PI_2
 
static constexpr auto mathconst::PI_4 = M_PI_4
 
static constexpr auto mathconst::ONE_PI = M_1_PI
 
static constexpr auto mathconst::TWO_PI = M_2_PI
 
static const auto mathconst::SQRTPI = std::sqrt(PI)
 
static constexpr auto mathconst::SQRT2 = M_SQRT2
 
static const auto mathconst::SQRT3 = std::sqrt(3.)
 

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES