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 
)
std::ostream& operator<< ( std::ostream &  out,
mathSSE::Rot3D const &  v 
)

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 }
tuple out
Definition: dbtoconf.py:99
As3D< V > as3D(V const &v)
Definition: ExtVec.h:195
std::ostream& operator<< ( std::ostream &  out,
mathSSE::Rot2F const &  v 
)
std::ostream& operator<< ( std::ostream &  out,
mathSSE::Rot2D const &  v 
)

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 }
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.