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__) && \
2
!defined(__PPC64__) && !defined(__powerpc__)
3
#include "
DataFormats/Math/interface/SSEVec.h
"
4
#include "
DataFormats/Math/interface/SSERot.h
"
5
using namespace
mathSSE
;
6
7
#include <ostream>
8
std::ostream&
operator<<
(std::ostream&
out
,
Vec4F
const
&
v
) {
9
return
out <<
'('
<< v[0] <<
", "
<< v[1] <<
", "
<< v[2] <<
", "
<< v[3] <<
')'
;
10
}
11
std::ostream&
operator<<
(std::ostream&
out
,
Vec4D
const
&
v
) {
12
return
out <<
'('
<< v[0] <<
", "
<< v[1] <<
", "
<< v[2] <<
", "
<< v[3] <<
')'
;
13
}
14
std::ostream&
operator<<
(std::ostream&
out
,
Vec2F
const
&
v
) {
return
out <<
'('
<< v[0] <<
", "
<< v[1] <<
')'
; }
15
std::ostream&
operator<<
(std::ostream&
out
,
Vec2D
const
&
v
) {
return
out <<
'('
<< v[0] <<
", "
<< v[1] <<
')'
; }
16
17
std::ostream& operator<<(std::ostream& out, As3D<float>
const
&
v
) {
18
return
out
<<
'('
<<
v
.v[0] <<
", "
<<
v
.v[1] <<
", "
<<
v
.v[2] <<
')'
;
19
}
20
21
std::ostream& operator<<(std::ostream& out, As3D<double>
const
&
v
) {
22
return
out
<<
'('
<<
v
.v[0] <<
", "
<<
v
.v[1] <<
", "
<<
v
.v[2] <<
')'
;
23
}
24
25
std::ostream&
operator<<
(std::ostream&
out
,
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
,
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
,
Rot2F
const
&
r
) {
return
out << r.
axis
[0] <<
'\n'
<< r.
axis
[1]; }
34
35
std::ostream&
operator<<
(std::ostream&
out
,
Rot2D
const
&
r
) {
return
out << r.
axis
[0] <<
'\n'
<< r.
axis
[1]; }
36
37
#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:229
mathSSE::as3D
As3D< T > as3D(Vec4< T > const &v)
Definition:
SSEVec.h:494
mathSSE::Vec2
Definition:
SSEVec.h:118
mathSSE::Rot3::axis
Vec4< T > axis[3]
Definition:
SSERot.h:17
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:181
Rot2
Definition:
ExtVec.h:227
operator<<
std::ostream & operator<<(std::ostream &out, Vec4F const &v)
Definition:
SSEVec.cc:8
Rot3::axis
Vec axis[3]
Definition:
ExtVec.h:183
SSEVec.h
mathSSE::Vec4< double >
Definition:
AVXVec.h:9
Generated for CMSSW Reference Manual by
1.8.11