Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
csvReporter.r
tuple r
Definition:
csvReporter.py:25
mathSSE::Vec2::arr
T arr[2]
Definition:
SSEVec.h:147
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:464
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
SSEVec.h
v
mathSSE::Vec4< T > v
Definition:
newBasic3DVector.h:343
Generated for CMSSW Reference Manual by
1.8.5