CMS 3D CMS Logo

SSEVec.cc
Go to the documentation of this file.
1 #if !defined(__arm__) && !defined(__aarch64__) && !defined(__MIC__) && !defined(__powerpc64__) && \
2  !defined(__PPC64__) && !defined(__powerpc__)
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::Vec4< double >
Definition: AVXVec.h:9
mathSSE::Rot3< double >
SSEVec.h
findQualityFiles.v
v
Definition: findQualityFiles.py:179
mathSSE::As3D
Definition: SSEVec.h:488
mathSSE::as3D
As3D< T > as3D(Vec4< T > const &v)
Definition: SSEVec.h:494
mathSSE::Vec2
Definition: SSEVec.h:118
mathSSE
Definition: AVXVec.h:6
mathSSE::Vec4< float >
alignCSCRings.r
r
Definition: alignCSCRings.py:93
Rot3
Definition: ExtVec.h:181
Rot2
Definition: ExtVec.h:227
SSERot.h
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
operator<<
std::ostream & operator<<(std::ostream &out, Vec4F const &v)
Definition: SSEVec.cc:8