Go to the documentation of this file.00001 #if !defined(__arm__)
00002 #include "DataFormats/Math/interface/SSEVec.h"
00003 #include "DataFormats/Math/interface/SSERot.h"
00004 using namespace mathSSE;
00005
00006 #include <ostream>
00007 std::ostream & operator<<(std::ostream & out, Vec4F const & v) {
00008 return out << '(' << v[0] <<", " << v[1] <<", "<< v[2] <<", "<< v[3] <<')';
00009 }
00010 std::ostream & operator<<(std::ostream & out, Vec4D const & v) {
00011 return out << '(' << v[0] <<", " << v[1] <<", "<< v[2] <<", "<< v[3] <<')';
00012 }
00013 std::ostream & operator<<(std::ostream & out, Vec2F const & v) {
00014 return out << '(' << v[0] <<", " << v[1] <<')';
00015 }
00016 std::ostream & operator<<(std::ostream & out, Vec2D const & v) {
00017 return out << '(' << v[0] <<", " << v[1] <<')';
00018 }
00019
00020 std::ostream & operator<<(std::ostream & out, As3D<float> const & v) {
00021 return out << '(' << v.v[0] <<", " << v.v[1] <<", "<< v.v[2] <<')';
00022 }
00023
00024 std::ostream & operator<<(std::ostream & out, As3D<double> const & v) {
00025 return out << '(' << v.v[0] <<", " << v.v[1] <<", "<< v.v[2] <<')';
00026 }
00027
00028 std::ostream & operator<<(std::ostream & out, Rot3F const & r){
00029 return out << as3D(r.axis[0]) << '\n' << as3D(r.axis[1]) << '\n' << as3D(r.axis[2]);
00030 }
00031
00032 std::ostream & operator<<(std::ostream & out, Rot3D const & r){
00033 return out << as3D(r.axis[0]) << '\n' << as3D(r.axis[1]) << '\n' << as3D(r.axis[2]);
00034 }
00035
00036 std::ostream & operator<<(std::ostream & out, Rot2F const & r){
00037 return out << r.axis[0] << '\n' << r.axis[1];
00038 }
00039
00040 std::ostream & operator<<(std::ostream & out, Rot2D const & r){
00041 return out << r.axis[0] << '\n' << r.axis[1];
00042 }
00043
00044 #endif // __arm__