Lugdunum
0.1.0
include
lug
Math
Constant.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <limits>
4
5
namespace
lug
{
6
namespace
Math {
7
8
// TODO: Add pi, etc
9
10
template
<
typename
T>
11
T
epsilon
();
12
13
template
<
typename
T>
14
T
pi
();
15
16
template
<
typename
T>
17
T
twoPi
();
18
19
template
<
typename
T>
20
T
rootPi
();
21
22
template
<
typename
T>
23
T
halfPi
();
24
25
template
<
typename
T>
26
T
threeOverTwoPi
();
27
28
template
<
typename
T>
29
T
quarterPi
();
30
31
template
<
typename
T>
32
T
oneOverPi
();
33
34
template
<
typename
T>
35
T
oneOverTwoPi
();
36
37
template
<
typename
T>
38
T
twoOverPi
();
39
40
template
<
typename
T>
41
T
fourOverPi
();
42
43
template
<
typename
T>
44
T
twoOverRootPi
();
45
46
template
<
typename
T>
47
T
oneOverRootPi
();
48
49
template
<
typename
T>
50
T
rootHalfPi
();
51
52
template
<
typename
T>
53
T
rootTwoPi
();
54
55
template
<
typename
T>
56
T
rootLnFour
();
57
58
template
<
typename
T>
59
T
e
();
60
61
template
<
typename
T>
62
T
euler
();
63
64
template
<
typename
T>
65
T
rootTwo
();
66
67
template
<
typename
T>
68
T
rootThree
();
69
70
template
<
typename
T>
71
T
rootFive
();
72
73
template
<
typename
T>
74
T
lnTwo
();
75
76
template
<
typename
T>
77
T
lnTen
();
78
79
template
<
typename
T>
80
T
lnLnTwo
();
81
82
template
<
typename
T>
83
T
goldenRatio
();
84
85
#include <
lug/Math/Constant.inl
>
86
87
}
// Math
88
}
// lug
lug::Math::pi
T pi()
Definition:
Constant.inl:7
lug::Math::rootTwo
T rootTwo()
Definition:
Constant.inl:92
Constant.inl
lug::Math::fourOverPi
T fourOverPi()
Definition:
Constant.inl:52
lug::Math::euler
T euler()
Definition:
Constant.inl:87
lug::Math::twoOverRootPi
T twoOverRootPi()
Definition:
Constant.inl:57
lug::Math::rootPi
T rootPi()
Definition:
Constant.inl:17
lug::Math::oneOverTwoPi
T oneOverTwoPi()
Definition:
Constant.inl:42
lug::Math::lnTwo
T lnTwo()
Definition:
Constant.inl:107
lug::Math::rootThree
T rootThree()
Definition:
Constant.inl:97
lug::Math::twoOverPi
T twoOverPi()
Definition:
Constant.inl:47
lug::Math::lnTen
T lnTen()
Definition:
Constant.inl:112
lug::Math::goldenRatio
T goldenRatio()
Definition:
Constant.inl:122
lug::Math::oneOverPi
T oneOverPi()
Definition:
Constant.inl:37
lug::Math::quarterPi
T quarterPi()
Definition:
Constant.inl:32
lug
Definition:
Application.hpp:11
lug::Math::twoPi
T twoPi()
Definition:
Constant.inl:12
lug::Math::oneOverRootPi
T oneOverRootPi()
Definition:
Constant.inl:62
lug::Math::threeOverTwoPi
T threeOverTwoPi()
Definition:
Constant.inl:27
lug::Math::rootLnFour
T rootLnFour()
Definition:
Constant.inl:77
lug::Math::e
T e()
Definition:
Constant.inl:82
lug::Math::rootHalfPi
T rootHalfPi()
Definition:
Constant.inl:67
lug::Math::epsilon
T epsilon()
Definition:
Constant.inl:2
lug::Math::halfPi
T halfPi()
Definition:
Constant.inl:22
lug::Math::lnLnTwo
T lnLnTwo()
Definition:
Constant.inl:117
lug::Math::rootTwoPi
T rootTwoPi()
Definition:
Constant.inl:72
lug::Math::rootFive
T rootFive()
Definition:
Constant.inl:102
Generated by
1.8.13