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
#include "
DataFormats/Math/interface/SSEVec.h
"
2
#include "
DataFormats/Math/interface/SSERot.h
"
3
#include <ostream>
4
std::ostream &
operator<<
(std::ostream &
out
,
mathSSE::Vec4F
const
&
v
) {
5
return
out <<
'('
<< v.arr[0] <<
", "
<< v.arr[1] <<
", "
<< v.arr[2] <<
", "
<< v.arr[3] <<
')'
;
6
}
7
std::ostream &
operator<<
(std::ostream &
out
,
mathSSE::Vec4D
const
&
v
) {
8
return
out <<
'('
<< v.arr[0] <<
", "
<< v.arr[1] <<
", "
<< v.arr[2] <<
", "
<< v.arr[3] <<
')'
;
9
}
10
std::ostream &
operator<<
(std::ostream &
out
,
mathSSE::Vec2F
const
&
v
) {
11
return
out <<
'('
<< v.
arr
[0] <<
", "
<< v.
arr
[1] <<
')'
;
12
}
13
std::ostream &
operator<<
(std::ostream &
out
,
mathSSE::Vec2D
const
&
v
) {
14
return
out <<
'('
<< v.
arr
[0] <<
", "
<< v.
arr
[1] <<
')'
;
15
}
16
17
std::ostream & operator<<(std::ostream & out, mathSSE::As3D<float>
const
&
v
) {
18
return
out
<<
'('
<<
v
.v.arr[0] <<
", "
<<
v
.v.arr[1] <<
", "
<<
v
.v.arr[2] <<
')'
;
19
}
20
21
std::ostream & operator<<(std::ostream & out, mathSSE::As3D<double>
const
&
v
) {
22
return
out
<<
'('
<<
v
.v.arr[0] <<
", "
<<
v
.v.arr[1] <<
", "
<<
v
.v.arr[2] <<
')'
;
23
}
24
25
std::ostream &
operator<<
(std::ostream &
out
,
mathSSE::Rot3F
const
&
r
){
26
return
out <<
as3D
(r.
axis
[0]) <<
'\n'
<<
as3D
(r.
axis
[1]) <<
'\n'
<<
as3D
(r.
axis
[2]);
27
}
28
29
std::ostream &
operator<<
(std::ostream &
out
,
mathSSE::Rot3D
const
&
r
){
30
return
out <<
as3D
(r.
axis
[0]) <<
'\n'
<<
as3D
(r.
axis
[1]) <<
'\n'
<<
as3D
(r.
axis
[2]);
31
}
32
33
std::ostream &
operator<<
(std::ostream &
out
,
mathSSE::Rot2F
const
&
r
){
34
return
out << r.
axis
[0] <<
'\n'
<< r.
axis
[1];
35
}
36
37
std::ostream &
operator<<
(std::ostream &
out
,
mathSSE::Rot2D
const
&
r
){
38
return
out << r.
axis
[0] <<
'\n'
<< r.
axis
[1];
39
}
40
mathSSE::Rot2
Definition:
SSERot.h:104
mathSSE::Vec2::arr
T arr[2]
Definition:
SSEVec.h:221
mathSSE::Rot2::axis
Vec2< T > axis[2]
Definition:
SSERot.h:105
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
mathSSE::Rot3
Definition:
SSERot.h:18
mathSSE::as3D
As3D< T > as3D(Vec4< T > const &v)
Definition:
SSEVec.h:576
mathSSE::Vec2< float >
mathSSE::Rot3::axis
Vec4< T > axis[3]
Definition:
SSERot.h:19
dbtoconf.out
tuple out
Definition:
dbtoconf.py:99
mathSSE::Vec4< float >
SSERot.h
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
SSEVec.h
v
mathSSE::Vec4< T > v
Definition:
newBasic3DVector.h:354
mathSSE::Vec4< double >
Definition:
AVXVec.h:9
Generated for CMSSW Reference Manual by
1.8.5