Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
DataFormats
Math
src
FastMath.cc
Go to the documentation of this file.
1
#include "
DataFormats/Math/interface/FastMath.h
"
2
namespace
fastmath_details
{
3
float
atanbuf_
[257 * 2];
4
double
datanbuf_
[513 * 2];
5
6
namespace
{
7
// ====================================================================
8
// arctan initialization
9
// =====================================================================
10
struct
Initatan {
11
Initatan() {
12
unsigned
int
ind;
13
for
(ind = 0; ind <= 256; ind++) {
14
double
v
= ind / 256.0;
15
double
asinv = ::asin(
v
);
16
atanbuf_
[ind * 2] =
::cos
(asinv);
17
atanbuf_
[ind * 2 + 1] = asinv;
18
}
19
for
(ind = 0; ind <= 512; ind++) {
20
double
v
= ind / 512.0;
21
double
asinv = ::asin(
v
);
22
datanbuf_
[ind * 2] =
::cos
(asinv);
23
datanbuf_
[ind * 2 + 1] = asinv;
24
}
25
}
26
};
27
Initatan initAtan;
28
}
// namespace
29
}
// namespace fastmath_details
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
fastmath_details::atanbuf_
float atanbuf_[257 *2]
Definition:
FastMath.cc:3
fastmath_details
Definition:
FastMath.h:26
funct::cos
Cos< T >::type cos(const T &t)
Definition:
Cos.h:22
FastMath.h
fastmath_details::datanbuf_
double datanbuf_[513 *2]
Definition:
FastMath.cc:4
Generated for CMSSW Reference Manual by
1.8.14