xtensor
Loading...
Searching...
No Matches
xt::numeric_constants< T > Struct Template Reference

Static Public Attributes

static constexprPI = 3.141592653589793238463
 
static constexprPI_2 = 1.57079632679489661923
 
static constexprPI_4 = 0.785398163397448309616
 
static constexprD_1_PI = 0.318309886183790671538
 
static constexprD_2_PI = 0.636619772367581343076
 
static constexprD_2_SQRTPI = 1.12837916709551257390
 
static constexprSQRT2 = 1.41421356237309504880
 
static constexprSQRT1_2 = 0.707106781186547524401
 
static constexprE = 2.71828182845904523536
 
static constexprLOG2E = 1.44269504088896340736
 
static constexprLOG10E = 0.434294481903251827651
 
static constexprLN2 = 0.693147180559945309417
 

Detailed Description

template<class T = double>
struct xt::numeric_constants< T >

Definition at line 39 of file xmath.hpp.

Member Data Documentation

◆ D_1_PI

template<class T = double>
constexpr T xt::numeric_constants< T >::D_1_PI = 0.318309886183790671538
staticconstexpr

Definition at line 44 of file xmath.hpp.

◆ D_2_PI

template<class T = double>
constexpr T xt::numeric_constants< T >::D_2_PI = 0.636619772367581343076
staticconstexpr

Definition at line 45 of file xmath.hpp.

◆ D_2_SQRTPI

template<class T = double>
constexpr T xt::numeric_constants< T >::D_2_SQRTPI = 1.12837916709551257390
staticconstexpr

Definition at line 46 of file xmath.hpp.

◆ E

template<class T = double>
constexpr T xt::numeric_constants< T >::E = 2.71828182845904523536
staticconstexpr

Definition at line 49 of file xmath.hpp.

◆ LN2

template<class T = double>
constexpr T xt::numeric_constants< T >::LN2 = 0.693147180559945309417
staticconstexpr

Definition at line 52 of file xmath.hpp.

◆ LOG10E

template<class T = double>
constexpr T xt::numeric_constants< T >::LOG10E = 0.434294481903251827651
staticconstexpr

Definition at line 51 of file xmath.hpp.

◆ LOG2E

template<class T = double>
constexpr T xt::numeric_constants< T >::LOG2E = 1.44269504088896340736
staticconstexpr

Definition at line 50 of file xmath.hpp.

◆ PI

template<class T = double>
constexpr T xt::numeric_constants< T >::PI = 3.141592653589793238463
staticconstexpr

Definition at line 41 of file xmath.hpp.

◆ PI_2

template<class T = double>
constexpr T xt::numeric_constants< T >::PI_2 = 1.57079632679489661923
staticconstexpr

Definition at line 42 of file xmath.hpp.

◆ PI_4

template<class T = double>
constexpr T xt::numeric_constants< T >::PI_4 = 0.785398163397448309616
staticconstexpr

Definition at line 43 of file xmath.hpp.

◆ SQRT1_2

template<class T = double>
constexpr T xt::numeric_constants< T >::SQRT1_2 = 0.707106781186547524401
staticconstexpr

Definition at line 48 of file xmath.hpp.

◆ SQRT2

template<class T = double>
constexpr T xt::numeric_constants< T >::SQRT2 = 1.41421356237309504880
staticconstexpr

Definition at line 47 of file xmath.hpp.


The documentation for this struct was generated from the following file: