CMS 3D CMS Logo

Functions
SSEVec.cc File Reference
#include "DataFormats/Math/interface/SSEVec.h"
#include "DataFormats/Math/interface/SSERot.h"
#include <ostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, Vec4F const &v)
 
std::ostream & operator<< (std::ostream &out, Vec4D const &v)
 
std::ostream & operator<< (std::ostream &out, Vec2F const &v)
 
std::ostream & operator<< (std::ostream &out, Vec2D const &v)
 
std::ostream & operator<< (std::ostream &out, As3D< float > const &v)
 
std::ostream & operator<< (std::ostream &out, As3D< double > const &v)
 
std::ostream & operator<< (std::ostream &out, Rot3F const &r)
 
std::ostream & operator<< (std::ostream &out, Rot3D const &r)
 
std::ostream & operator<< (std::ostream &out, Rot2F const &r)
 
std::ostream & operator<< (std::ostream &out, Rot2D const &r)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
Vec4F const &  v 
)

Definition at line 7 of file SSEVec.cc.

7  {
8  return out << '(' << v[0] <<", " << v[1] <<", "<< v[2] <<", "<< v[3] <<')';
9 }
std::ostream& operator<< ( std::ostream &  out,
Vec4D const &  v 
)

Definition at line 10 of file SSEVec.cc.

10  {
11  return out << '(' << v[0] <<", " << v[1] <<", "<< v[2] <<", "<< v[3] <<')';
12 }
std::ostream& operator<< ( std::ostream &  out,
Vec2F const &  v 
)

Definition at line 13 of file SSEVec.cc.

13  {
14  return out << '(' << v[0] <<", " << v[1] <<')';
15 }
std::ostream& operator<< ( std::ostream &  out,
Vec2D const &  v 
)

Definition at line 16 of file SSEVec.cc.

Referenced by mathSSE::as3D(), and operator*().

16  {
17  return out << '(' << v[0] <<", " << v[1] <<')';
18 }
std::ostream& operator<< ( std::ostream &  out,
As3D< float > const &  v 
)

Definition at line 20 of file SSEVec.cc.

References MillePedeFileConverter_cfg::out, and findQualityFiles::v.

20  {
21  return out << '(' << v.v[0] <<", " << v.v[1] <<", "<< v.v[2] <<')';
22 }
Vec4< T > const & v
Definition: SSEVec.h:508
std::ostream& operator<< ( std::ostream &  out,
As3D< double > const &  v 
)

Definition at line 24 of file SSEVec.cc.

References MillePedeFileConverter_cfg::out, and findQualityFiles::v.

24  {
25  return out << '(' << v.v[0] <<", " << v.v[1] <<", "<< v.v[2] <<')';
26 }
Vec4< T > const & v
Definition: SSEVec.h:508
std::ostream& operator<< ( std::ostream &  out,
Rot3F const &  r 
)

Definition at line 28 of file SSEVec.cc.

References mathSSE::as3D(), and Rot3< T >::axis.

28  {
29  return out << as3D(r.axis[0]) << '\n' << as3D(r.axis[1]) << '\n' << as3D(r.axis[2]);
30 }
As3D< V > as3D(V const &v)
Definition: ExtVec.h:183
std::ostream& operator<< ( std::ostream &  out,
Rot3D const &  r 
)

Definition at line 32 of file SSEVec.cc.

References mathSSE::as3D(), and mathSSE::Rot3< T >::axis.

32  {
33  return out << as3D(r.axis[0]) << '\n' << as3D(r.axis[1]) << '\n' << as3D(r.axis[2]);
34 }
As3D< V > as3D(V const &v)
Definition: ExtVec.h:183
std::ostream& operator<< ( std::ostream &  out,
Rot2F const &  r 
)

Definition at line 36 of file SSEVec.cc.

References Rot2< T >::axis.

36  {
37  return out << r.axis[0] << '\n' << r.axis[1];
38 }
std::ostream& operator<< ( std::ostream &  out,
Rot2D const &  r 
)

Definition at line 40 of file SSEVec.cc.

References mathSSE::Rot2< T >::axis.

40  {
41  return out << r.axis[0] << '\n' << r.axis[1];
42 }