Go to the documentation of this file.00001 #include "DataFormats/Math/interface/SSEVec.h"
00002 #include "DataFormats/Math/interface/SSERot.h"
00003 #include <ostream>
00004 std::ostream & operator<<(std::ostream & out, mathSSE::Vec4F const & v) {
00005 return out << '(' << v.arr[0] <<", " << v.arr[1] <<", "<< v.arr[2] <<", "<< v.arr[3] <<')';
00006 }
00007 std::ostream & operator<<(std::ostream & out, mathSSE::Vec4D const & v) {
00008 return out << '(' << v.arr[0] <<", " << v.arr[1] <<", "<< v.arr[2] <<", "<< v.arr[3] <<')';
00009 }
00010 std::ostream & operator<<(std::ostream & out, mathSSE::Vec2D const & v) {
00011 return out << '(' << v.arr[0] <<", " << v.arr[1] <<')';
00012 }
00013
00014 std::ostream & operator<<(std::ostream & out, mathSSE::As3D<float> const & v) {
00015 return out << '(' << v.v.arr[0] <<", " << v.v.arr[1] <<", "<< v.v.arr[2] <<')';
00016 }
00017
00018 std::ostream & operator<<(std::ostream & out, mathSSE::As3D<double> const & v) {
00019 return out << '(' << v.v.arr[0] <<", " << v.v.arr[1] <<", "<< v.v.arr[2] <<')';
00020 }
00021
00022 std::ostream & operator<<(std::ostream & out, mathSSE::Rot3F const & r){
00023 return out << as3D(r.axis[0]) << '\n' << as3D(r.axis[1]) << '\n' << as3D(r.axis[2]);
00024 }
00025
00026 std::ostream & operator<<(std::ostream & out, mathSSE::Rot3D const & r){
00027 return out << as3D(r.axis[0]) << '\n' << as3D(r.axis[1]) << '\n' << as3D(r.axis[2]);
00028 }
00029