CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SSEVec.cc
Go to the documentation of this file.
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 
T arr[2]
Definition: SSEVec.h:221
Vec2< T > axis[2]
Definition: SSERot.h:105
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
As3D< T > as3D(Vec4< T > const &v)
Definition: SSEVec.h:576
Vec4< T > axis[3]
Definition: SSERot.h:19
tuple out
Definition: dbtoconf.py:99
mathSSE::Vec4< T > v