PhyStar  v0.0.0 thu24
mathconst Namespace Reference

Functions

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

Variables

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

Function Documentation

◆ cONE()

static const std::complex<double> mathconst::cONE ( 0.  ,
1.   
)
static
Here is the caller graph for this function:

◆ cZERO()

static const std::complex<double> mathconst::cZERO ( 0.  ,
0.   
)
static
Here is the caller graph for this function:

Variable Documentation

◆ E

constexpr auto mathconst::E = M_E
staticconstexpr

◆ ONE_PI

constexpr auto mathconst::ONE_PI = M_1_PI
staticconstexpr

◆ PI

constexpr auto mathconst::PI = M_PI
staticconstexpr

◆ PI2

constexpr auto mathconst::PI2 = PI * PI
staticconstexpr

◆ PI3

constexpr auto mathconst::PI3 = PI * PI * PI
staticconstexpr

◆ PI_2

constexpr auto mathconst::PI_2 = M_PI_2
staticconstexpr

◆ PI_4

constexpr auto mathconst::PI_4 = M_PI_4
staticconstexpr

◆ SQRT2

constexpr auto mathconst::SQRT2 = M_SQRT2
staticconstexpr

◆ SQRT3

const auto mathconst::SQRT3 = std::sqrt(3.)
static

◆ SQRTPI

const auto mathconst::SQRTPI = std::sqrt(PI)
static

◆ TWO_PI

constexpr auto mathconst::TWO_PI = M_2_PI
staticconstexpr