CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Typedefs | Functions | Variables
SSEVec.h File Reference
#include <cmath>
#include <iosfwd>

Go to the source code of this file.

Classes

struct  mathSSE::As3D< T >
 
struct  mathSSE::OldVec< T >
 
union  mathSSE::Vec2< T >
 
union  mathSSE::Vec4< T >
 
union  mathSSE::Vec4< T >
 

Namespaces

 mathSSE
 

Typedefs

typedef Vec2< double > mathSSE::Vec2D
 
typedef Vec2< float > mathSSE::Vec2F
 
typedef Vec4< double > mathSSE::Vec3D
 
typedef Vec4< float > mathSSE::Vec3F
 
typedef Vec4< double > mathSSE::Vec4D
 
typedef Vec4< float > mathSSE::Vec4F
 

Functions

template<>
bool mathSSE::__attribute__ ((always_inline)) __attribute__((pure)) samesign< int >(int rh
 
template<typename T >
struct mathSSE::OldVec mathSSE::__attribute__ ((aligned(16)))
 
template<typename T >
As3D< TmathSSE::as3D (Vec4< T > const &v)
 
std::ostream & operator<< (std::ostream &out, mathSSE::Vec2D const &v)
 
std::ostream & operator<< (std::ostream &out, mathSSE::Vec2F const &v)
 
std::ostream & operator<< (std::ostream &out, mathSSE::Vec4F const &v)
 
std::ostream & operator<< (std::ostream &out, mathSSE::Vec4D const &v)
 
std::ostream & operator<< (std::ostream &out, mathSSE::As3D< float > const &v)
 
std::ostream & operator<< (std::ostream &out, mathSSE::As3D< double > const &v)
 
 mathSSE::return ((rh^lh)&mask) == 0
 
template<typename T >
bool mathSSE::samesign (T rh, T lh)
 
return mathSSE::samesign< int > (a.i, b.i)
 
return mathSSE::samesign< long long > (a.i, b.i)
 
template<typename T >
T mathSSE::sqrt (T t)
 

Variables

a mathSSE::f =rh
 
bool int mathSSE::lh
 
T theW
 
T theX
 
T theY
 
T theZ
 

Function Documentation

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

Definition at line 13 of file SSEVec.cc.

References mathSSE::Vec2< T >::arr.

13  {
14  return out << '(' << v.arr[0] <<", " << v.arr[1] <<')';
15 }
tuple out
Definition: dbtoconf.py:99
mathSSE::Vec4< T > v
std::ostream& operator<< ( std::ostream &  out,
mathSSE::Vec2F const &  v 
)

Definition at line 10 of file SSEVec.cc.

References mathSSE::Vec2< T >::arr.

10  {
11  return out << '(' << v.arr[0] <<", " << v.arr[1] <<')';
12 }
tuple out
Definition: dbtoconf.py:99
mathSSE::Vec4< T > v
std::ostream& operator<< ( std::ostream &  out,
mathSSE::Vec4F const &  v 
)

Definition at line 4 of file SSEVec.cc.

4  {
5  return out << '(' << v.arr[0] <<", " << v.arr[1] <<", "<< v.arr[2] <<", "<< v.arr[3] <<')';
6 }
tuple out
Definition: dbtoconf.py:99
mathSSE::Vec4< T > v
std::ostream& operator<< ( std::ostream &  out,
mathSSE::Vec4D const &  v 
)

Definition at line 7 of file SSEVec.cc.

7  {
8  return out << '(' << v.arr[0] <<", " << v.arr[1] <<", "<< v.arr[2] <<", "<< v.arr[3] <<')';
9 }
tuple out
Definition: dbtoconf.py:99
mathSSE::Vec4< T > v
std::ostream& operator<< ( std::ostream &  out,
mathSSE::As3D< float > const &  v 
)

Definition at line 17 of file SSEVec.cc.

References dbtoconf::out, and v.

17  {
18  return out << '(' << v.v.arr[0] <<", " << v.v.arr[1] <<", "<< v.v.arr[2] <<')';
19 }
tuple out
Definition: dbtoconf.py:99
Vec4< T > const & v
Definition: SSEVec.h:459
std::ostream& operator<< ( std::ostream &  out,
mathSSE::As3D< double > const &  v 
)

Definition at line 21 of file SSEVec.cc.

References dbtoconf::out, and v.

21  {
22  return out << '(' << v.v.arr[0] <<", " << v.v.arr[1] <<", "<< v.v.arr[2] <<')';
23 }
tuple out
Definition: dbtoconf.py:99
Vec4< T > const & v
Definition: SSEVec.h:459

Variable Documentation

T theW

Definition at line 62 of file SSEVec.h.

T theX

Definition at line 62 of file SSEVec.h.

T theY

Definition at line 62 of file SSEVec.h.

T theZ

Definition at line 62 of file SSEVec.h.