Main Page
Namespaces
Classes
Package Documentation
DataFormats
Math
src
SSEVec.cc
Go to the documentation of this file.
1
#if !defined(__arm__) && !defined(__aarch64__) && !defined(__MIC__) && !defined(__powerpc64__) && !defined(__PPC64__) && !defined(__powerpc__)
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
Definition:
AVXVec.h:6
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
mathSSE::Rot3< double >
Rot2::axis
Vec2< T > axis[2]
Definition:
ExtVec.h:255
mathSSE::as3D
As3D< T > as3D(Vec4< T > const &v)
Definition:
SSEVec.h:514
mathSSE::Vec2
Definition:
SSEVec.h:116
mathSSE::Rot3::axis
Vec4< T > axis[3]
Definition:
SSERot.h:19
mathSSE::Vec4< float >
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
SSERot.h
Rot3
Definition:
ExtVec.h:189
Rot2
Definition:
ExtVec.h:253
operator<<
std::ostream & operator<<(std::ostream &out, Vec4F const &v)
Definition:
SSEVec.cc:7
Rot3::axis
Vec axis[3]
Definition:
ExtVec.h:191
SSEVec.h
mathSSE::Vec4< double >
Definition:
AVXVec.h:9
Generated for CMSSW Reference Manual by
1.8.11