Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
Math
src
SSEVec.cc
Go to the documentation of this file.
1
#if !defined(__arm__) && !defined(__aarch64__) && !defined(__MIC__)
2
#include "
DataFormats/Math/interface/SSEVec.h
"
3
#include "
DataFormats/Math/interface/SSERot.h
"
4
using namespace
mathSSE;
5
6
#include <ostream>
7
std::ostream &
operator<<
(std::ostream &
out
,
Vec4F
const
&
v
) {
8
return
out <<
'('
<< v[0] <<
", "
<< v[1] <<
", "
<< v[2] <<
", "
<< v[3] <<
')'
;
9
}
10
std::ostream &
operator<<
(std::ostream &
out
,
Vec4D
const
&
v
) {
11
return
out <<
'('
<< v[0] <<
", "
<< v[1] <<
", "
<< v[2] <<
", "
<< v[3] <<
')'
;
12
}
13
std::ostream &
operator<<
(std::ostream &
out
,
Vec2F
const
&
v
) {
14
return
out <<
'('
<< v[0] <<
", "
<< v[1] <<
')'
;
15
}
16
std::ostream &
operator<<
(std::ostream &
out
,
Vec2D
const
&
v
) {
17
return
out <<
'('
<< v[0] <<
", "
<< v[1] <<
')'
;
18
}
19
20
std::ostream & operator<<(std::ostream & out, As3D<float>
const
&
v
) {
21
return
out
<<
'('
<<
v
.v[0] <<
", "
<<
v
.v[1] <<
", "
<<
v
.v[2] <<
')'
;
22
}
23
24
std::ostream & operator<<(std::ostream & out, As3D<double>
const
&
v
) {
25
return
out
<<
'('
<<
v
.v[0] <<
", "
<<
v
.v[1] <<
", "
<<
v
.v[2] <<
')'
;
26
}
27
28
std::ostream &
operator<<
(std::ostream &
out
,
Rot3F
const
&
r
){
29
return
out <<
as3D
(r.
axis
[0]) <<
'\n'
<<
as3D
(r.
axis
[1]) <<
'\n'
<<
as3D
(r.
axis
[2]);
30
}
31
32
std::ostream &
operator<<
(std::ostream &
out
,
Rot3D
const
&
r
){
33
return
out <<
as3D
(r.
axis
[0]) <<
'\n'
<<
as3D
(r.
axis
[1]) <<
'\n'
<<
as3D
(r.
axis
[2]);
34
}
35
36
std::ostream &
operator<<
(std::ostream &
out
,
Rot2F
const
&
r
){
37
return
out << r.
axis
[0] <<
'\n'
<< r.
axis
[1];
38
}
39
40
std::ostream &
operator<<
(std::ostream &
out
,
Rot2D
const
&
r
){
41
return
out << r.
axis
[0] <<
'\n'
<< r.
axis
[1];
42
}
43
44
#endif
/* !defined(__arm__) && !defined(__aarch64__) && !defined(__MIC__) */
mathSSE::Rot2
Definition:
SSERot.h:104
mathSSE::Rot2::axis
Vec2< T > axis[2]
Definition:
SSERot.h:105
findQualityFiles.v
v
Definition:
findQualityFiles.py:177
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
mathSSE::Rot3< double >
Rot2::axis
Vec2< T > axis[2]
Definition:
ExtVec.h:267
mathSSE::as3D
As3D< T > as3D(Vec4< T > const &v)
Definition:
SSEVec.h:543
mathSSE::Vec2
Definition:
SSEVec.h:145
mathSSE::Rot3::axis
Vec4< T > axis[3]
Definition:
SSERot.h:19
dbtoconf.out
tuple out
Definition:
dbtoconf.py:99
mathSSE::Vec4< float >
SSERot.h
Rot3
Definition:
ExtVec.h:201
Rot2
Definition:
ExtVec.h:265
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
Rot3::axis
Vec axis[3]
Definition:
ExtVec.h:203
SSEVec.h
mathSSE::Vec4< double >
Definition:
AVXVec.h:9
Generated for CMSSW Reference Manual by
1.8.5