CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Typedefs | Functions | Variables
SSERot.h File Reference
#include "DataFormats/Math/interface/SSEVec.h"
#include <iosfwd>

Go to the source code of this file.

Classes

struct  mathSSE::OldRot< T >
 
struct  mathSSE::Rot2< T >
 
struct  mathSSE::Rot3< T >
 

Namespaces

 mathSSE
 

Typedefs

typedef Rot2< double > mathSSE::Rot2D
 
typedef Rot2< float > mathSSE::Rot2F
 
typedef Rot3< double > mathSSE::Rot3D
 
typedef Rot3< float > mathSSE::Rot3F
 

Functions

template<typename T >
struct mathSSE::OldRot mathSSE::__attribute__ ((aligned(16)))
 
template<typename T >
mathSSE::Rot3< Toperator* (mathSSE::Rot3< T > const &rh, mathSSE::Rot3< T > const &lh)
 
template<typename T >
mathSSE::Rot2< Toperator* (mathSSE::Rot2< T > const &rh, mathSSE::Rot2< T > const &lh)
 
std::ostream & operator<< (std::ostream &out, mathSSE::Rot3F const &v)
 
std::ostream & operator<< (std::ostream &out, mathSSE::Rot3D const &v)
 
std::ostream & operator<< (std::ostream &out, mathSSE::Rot2F const &v)
 
std::ostream & operator<< (std::ostream &out, mathSSE::Rot2D const &v)
 

Variables

struct mathSSE::Rot3 mathSSE::__attribute__
 
T R11
 
T R12
 
T R13
 
T R21
 
T R22
 
T R23
 
T R31
 
T R32
 
T R33
 

Function Documentation

template<typename T >
mathSSE::Rot3<T> operator* ( mathSSE::Rot3< T > const &  rh,
mathSSE::Rot3< T > const &  lh 
)
inline

Definition at line 96 of file SSERot.h.

References mathSSE::Rot3< T >::rotateBack().

96  {
97  // return Rot3(lh.rotateBack(rh.axis[0]),lh.rotateBack(rh.axis[1]),lh.rotateBack(rh.axis[2]));
98  return lh.rotateBack(rh);
99 }
Vec4< T > rotateBack(Vec4< T > v) const
Definition: SSERot.h:57
template<typename T >
mathSSE::Rot2<T> operator* ( mathSSE::Rot2< T > const &  rh,
mathSSE::Rot2< T > const &  lh 
)
inline

Definition at line 162 of file SSERot.h.

References mathSSE::Rot2< T >::rotateBack().

162  {
163  return lh.rotateBack(rh);
164 }
Vec2< T > rotateBack(Vec2< T > v) const
Definition: SSERot.h:138
std::ostream& operator<< ( std::ostream &  out,
mathSSE::Rot3F const &  v 
)

Definition at line 25 of file SSEVec.cc.

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

25  {
26  return out << as3D(r.axis[0]) << '\n' << as3D(r.axis[1]) << '\n' << as3D(r.axis[2]);
27 }
As3D< T > as3D(Vec4< T > const &v)
Definition: SSEVec.h:576
tuple out
Definition: dbtoconf.py:99
std::ostream& operator<< ( std::ostream &  out,
mathSSE::Rot3D const &  v 
)

Definition at line 29 of file SSEVec.cc.

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

29  {
30  return out << as3D(r.axis[0]) << '\n' << as3D(r.axis[1]) << '\n' << as3D(r.axis[2]);
31 }
As3D< T > as3D(Vec4< T > const &v)
Definition: SSEVec.h:576
tuple out
Definition: dbtoconf.py:99
std::ostream& operator<< ( std::ostream &  out,
mathSSE::Rot2F const &  v 
)

Definition at line 33 of file SSEVec.cc.

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

33  {
34  return out << r.axis[0] << '\n' << r.axis[1];
35 }
tuple out
Definition: dbtoconf.py:99
std::ostream& operator<< ( std::ostream &  out,
mathSSE::Rot2D const &  v 
)

Definition at line 37 of file SSEVec.cc.

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

37  {
38  return out << r.axis[0] << '\n' << r.axis[1];
39 }
tuple out
Definition: dbtoconf.py:99

Variable Documentation

T R11

Definition at line 173 of file SSERot.h.

T R12

Definition at line 173 of file SSERot.h.

T R13

Definition at line 173 of file SSERot.h.

T R21

Definition at line 174 of file SSERot.h.

T R22

Definition at line 174 of file SSERot.h.

T R23

Definition at line 174 of file SSERot.h.

T R31

Definition at line 175 of file SSERot.h.

T R32

Definition at line 175 of file SSERot.h.

T R33

Definition at line 175 of file SSERot.h.