BmnRoot
Loading...
Searching...
No Matches
F32vec4 Class Reference

#include <P4_F32vec4.h>

Public Member Functions

float & operator[] (int i)
 
float operator[] (int i) const
 
 F32vec4 ()
 
 F32vec4 (const __m128 &a)
 
 F32vec4 (const float &a)
 
 F32vec4 (const float &f0, const float &f1, const float &f2, const float &f3)
 
 operator __m128 () const
 
 vec_arithmetic (F32vec4, float)
 
float & operator[] (int i)
 
float operator[] (int i) const
 
 F32vec4 ()
 
 F32vec4 (const F32vec4 &a)
 
 F32vec4 (const float &a)
 
 F32vec4 (const float &f0, const float &f1, const float &f2, const float &f3)
 
 vec_arithmetic (F32vec4, float)
 

Public Attributes

__m128 v
 
float v [4]
 

Friends

F32vec4 operator+ (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator- (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator* (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator/ (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 min (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 max (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 sqrt (const F32vec4 &a)
 
F32vec4 rsqrt (const F32vec4 &a)
 
F32vec4 rcp (const F32vec4 &a)
 
F32vec4 fabs (const F32vec4 &a)
 
F32vec4 sgn (const F32vec4 &a)
 
F32vec4 asgnb (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator& (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator| (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator^ (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator! (const F32vec4 &a)
 
F32vec4 operator< (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator<= (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator> (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator>= (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator== (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 bool2int (const F32vec4 &a)
 
F32vec4 exp (const F32vec4 &a)
 
F32vec4 log (const F32vec4 &a)
 
F32vec4 sin (const F32vec4 &a)
 
F32vec4 cos (const F32vec4 &a)
 
F32vec4 acos (const F32vec4 &a)
 
F32vec4 atan2 (const F32vec4 &y, const F32vec4 &x)
 
std::ostream & operator<< (std::ostream &strm, const F32vec4 &a)
 
std::istream & operator>> (std::istream &strm, F32vec4 &a)
 
F32vec4 operator+ (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator- (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator* (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator/ (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator< (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator<= (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator> (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator>= (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator& (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator| (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator|| (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 operator! (const F32vec4 &a)
 
F32vec4 if3 (const F32vec4 &a, const F32vec4 &b, const F32vec4 &c)
 
F32vec4 bool2int (const F32vec4 &a)
 
float min (float x, float y)
 
float max (float x, float y)
 
float asgnb (float x, float y)
 
float rsqrt (float x)
 
float rcp (float x)
 
float sgn (float x)
 
F32vec4 min (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 max (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 asgnb (const F32vec4 &a, const F32vec4 &b)
 
F32vec4 sqrt (const F32vec4 &a)
 
F32vec4 rsqrt (const F32vec4 &a)
 
F32vec4 rcp (const F32vec4 &a)
 
F32vec4 fabs (const F32vec4 &a)
 
F32vec4 sgn (const F32vec4 &a)
 
F32vec4 exp (const F32vec4 &a)
 
F32vec4 log (const F32vec4 &a)
 
F32vec4 sin (const F32vec4 &a)
 
F32vec4 cos (const F32vec4 &a)
 
ostream & operator<< (ostream &strm, const F32vec4 &a)
 
istream & operator>> (istream &strm, F32vec4 &a)
 

Detailed Description

Definition at line 43 of file P4_F32vec4.h.

Constructor & Destructor Documentation

◆ F32vec4() [1/8]

F32vec4::F32vec4 ( )
inline

Definition at line 51 of file P4_F32vec4.h.

Referenced by operator>>().

◆ F32vec4() [2/8]

F32vec4::F32vec4 ( const __m128 &  a)
inline

Definition at line 54 of file P4_F32vec4.h.

◆ F32vec4() [3/8]

F32vec4::F32vec4 ( const float &  a)
inline

Definition at line 57 of file P4_F32vec4.h.

◆ F32vec4() [4/8]

F32vec4::F32vec4 ( const float &  f0,
const float &  f1,
const float &  f2,
const float &  f3 
)
inline

Definition at line 61 of file P4_F32vec4.h.

◆ F32vec4() [5/8]

F32vec4::F32vec4 ( )
inline

Definition at line 34 of file PSEUDO_F32vec4.h.

◆ F32vec4() [6/8]

F32vec4::F32vec4 ( const F32vec4 a)
inline

Definition at line 35 of file PSEUDO_F32vec4.h.

References v.

◆ F32vec4() [7/8]

F32vec4::F32vec4 ( const float &  a)
inline

Definition at line 41 of file PSEUDO_F32vec4.h.

◆ F32vec4() [8/8]

F32vec4::F32vec4 ( const float &  f0,
const float &  f1,
const float &  f2,
const float &  f3 
)
inline

Definition at line 48 of file PSEUDO_F32vec4.h.

References v.

Member Function Documentation

◆ operator __m128()

F32vec4::operator __m128 ( ) const
inline

Definition at line 66 of file P4_F32vec4.h.

References v.

◆ operator[]() [1/4]

float & F32vec4::operator[] ( int  i)
inline

Definition at line 48 of file P4_F32vec4.h.

References i, and v.

◆ operator[]() [2/4]

float & F32vec4::operator[] ( int  i)
inline

Definition at line 31 of file PSEUDO_F32vec4.h.

References i, and v.

◆ operator[]() [3/4]

float F32vec4::operator[] ( int  i) const
inline

Definition at line 49 of file P4_F32vec4.h.

References i, and v.

◆ operator[]() [4/4]

float F32vec4::operator[] ( int  i) const
inline

Definition at line 32 of file PSEUDO_F32vec4.h.

References i, and v.

◆ vec_arithmetic() [1/2]

F32vec4::vec_arithmetic ( F32vec4  ,
float   
)

◆ vec_arithmetic() [2/2]

F32vec4::vec_arithmetic ( F32vec4  ,
float   
)

Friends And Related Symbol Documentation

◆ acos

F32vec4 acos ( const F32vec4 a)
friend

Definition at line 171 of file P4_F32vec4.h.

◆ asgnb [1/3]

F32vec4 asgnb ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 101 of file P4_F32vec4.h.

◆ asgnb [2/3]

F32vec4 asgnb ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 120 of file PSEUDO_F32vec4.h.

◆ asgnb [3/3]

float asgnb ( float  x,
float  y 
)
friend

Definition at line 113 of file PSEUDO_F32vec4.h.

◆ atan2

F32vec4 atan2 ( const F32vec4 y,
const F32vec4 x 
)
friend

Definition at line 175 of file P4_F32vec4.h.

◆ bool2int [1/2]

F32vec4 bool2int ( const F32vec4 a)
friend

Definition at line 154 of file P4_F32vec4.h.

◆ bool2int [2/2]

F32vec4 bool2int ( const F32vec4 a)
friend

Definition at line 104 of file PSEUDO_F32vec4.h.

◆ cos [1/2]

F32vec4 cos ( const F32vec4 a)
friend

Definition at line 170 of file P4_F32vec4.h.

◆ cos [2/2]

F32vec4 cos ( const F32vec4 a)
friend

Definition at line 129 of file PSEUDO_F32vec4.h.

◆ exp [1/2]

F32vec4 exp ( const F32vec4 a)
friend

Definition at line 167 of file P4_F32vec4.h.

◆ exp [2/2]

F32vec4 exp ( const F32vec4 a)
friend

Definition at line 126 of file PSEUDO_F32vec4.h.

◆ fabs [1/2]

F32vec4 fabs ( const F32vec4 a)
friend

Definition at line 97 of file P4_F32vec4.h.

Referenced by operator>>().

◆ fabs [2/2]

F32vec4 fabs ( const F32vec4 a)
friend

Definition at line 124 of file PSEUDO_F32vec4.h.

◆ if3

F32vec4 if3 ( const F32vec4 a,
const F32vec4 b,
const F32vec4 c 
)
friend

Definition at line 90 of file PSEUDO_F32vec4.h.

◆ log [1/2]

F32vec4 log ( const F32vec4 a)
friend

Definition at line 168 of file P4_F32vec4.h.

◆ log [2/2]

F32vec4 log ( const F32vec4 a)
friend

Definition at line 127 of file PSEUDO_F32vec4.h.

◆ max [1/3]

F32vec4 max ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 76 of file P4_F32vec4.h.

◆ max [2/3]

F32vec4 max ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 119 of file PSEUDO_F32vec4.h.

◆ max [3/3]

float max ( float  x,
float  y 
)
friend

Definition at line 112 of file PSEUDO_F32vec4.h.

◆ min [1/3]

F32vec4 min ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 75 of file P4_F32vec4.h.

◆ min [2/3]

F32vec4 min ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 118 of file PSEUDO_F32vec4.h.

◆ min [3/3]

float min ( float  x,
float  y 
)
friend

Definition at line 111 of file PSEUDO_F32vec4.h.

◆ operator! [1/2]

F32vec4 operator! ( const F32vec4 a)
friend

Definition at line 117 of file P4_F32vec4.h.

◆ operator! [2/2]

F32vec4 operator! ( const F32vec4 a)
friend

Definition at line 80 of file PSEUDO_F32vec4.h.

◆ operator& [1/2]

F32vec4 operator& ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 105 of file P4_F32vec4.h.

◆ operator& [2/2]

F32vec4 operator& ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 76 of file PSEUDO_F32vec4.h.

◆ operator* [1/2]

F32vec4 operator* ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 71 of file P4_F32vec4.h.

◆ operator* [2/2]

F32vec4 operator* ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 66 of file PSEUDO_F32vec4.h.

◆ operator+ [1/2]

F32vec4 operator+ ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 69 of file P4_F32vec4.h.

◆ operator+ [2/2]

F32vec4 operator+ ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 64 of file PSEUDO_F32vec4.h.

◆ operator- [1/2]

F32vec4 operator- ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 70 of file P4_F32vec4.h.

◆ operator- [2/2]

F32vec4 operator- ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 65 of file PSEUDO_F32vec4.h.

◆ operator/ [1/2]

F32vec4 operator/ ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 72 of file P4_F32vec4.h.

◆ operator/ [2/2]

F32vec4 operator/ ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 67 of file PSEUDO_F32vec4.h.

◆ operator< [1/2]

F32vec4 operator< ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 127 of file P4_F32vec4.h.

◆ operator< [2/2]

F32vec4 operator< ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 70 of file PSEUDO_F32vec4.h.

◆ operator<< [1/2]

ostream & operator<< ( ostream &  strm,
const F32vec4 a 
)
friend

Definition at line 138 of file PSEUDO_F32vec4.h.

◆ operator<< [2/2]

std::ostream & operator<< ( std::ostream &  strm,
const F32vec4 a 
)
friend

Definition at line 215 of file P4_F32vec4.h.

◆ operator<= [1/2]

F32vec4 operator<= ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 131 of file P4_F32vec4.h.

◆ operator<= [2/2]

F32vec4 operator<= ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 71 of file PSEUDO_F32vec4.h.

◆ operator==

F32vec4 operator== ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 143 of file P4_F32vec4.h.

◆ operator> [1/2]

F32vec4 operator> ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 135 of file P4_F32vec4.h.

◆ operator> [2/2]

F32vec4 operator> ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 72 of file PSEUDO_F32vec4.h.

◆ operator>= [1/2]

F32vec4 operator>= ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 139 of file P4_F32vec4.h.

◆ operator>= [2/2]

F32vec4 operator>= ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 73 of file PSEUDO_F32vec4.h.

◆ operator>> [1/2]

istream & operator>> ( istream &  strm,
F32vec4 a 
)
friend

Definition at line 143 of file PSEUDO_F32vec4.h.

◆ operator>> [2/2]

std::istream & operator>> ( std::istream &  strm,
F32vec4 a 
)
friend

Definition at line 221 of file P4_F32vec4.h.

◆ operator^

F32vec4 operator^ ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 113 of file P4_F32vec4.h.

◆ operator| [1/2]

F32vec4 operator| ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 109 of file P4_F32vec4.h.

◆ operator| [2/2]

F32vec4 operator| ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 77 of file PSEUDO_F32vec4.h.

◆ operator||

F32vec4 operator|| ( const F32vec4 a,
const F32vec4 b 
)
friend

Definition at line 78 of file PSEUDO_F32vec4.h.

◆ rcp [1/3]

F32vec4 rcp ( const F32vec4 a)
friend

Definition at line 90 of file P4_F32vec4.h.

◆ rcp [2/3]

F32vec4 rcp ( const F32vec4 a)
friend

Definition at line 123 of file PSEUDO_F32vec4.h.

◆ rcp [3/3]

float rcp ( float  x)
friend

Definition at line 115 of file PSEUDO_F32vec4.h.

◆ rsqrt [1/3]

F32vec4 rsqrt ( const F32vec4 a)
friend

Definition at line 82 of file P4_F32vec4.h.

◆ rsqrt [2/3]

F32vec4 rsqrt ( const F32vec4 a)
friend

Definition at line 122 of file PSEUDO_F32vec4.h.

◆ rsqrt [3/3]

float rsqrt ( float  x)
friend

Definition at line 114 of file PSEUDO_F32vec4.h.

◆ sgn [1/3]

F32vec4 sgn ( const F32vec4 a)
friend

Definition at line 100 of file P4_F32vec4.h.

◆ sgn [2/3]

F32vec4 sgn ( const F32vec4 a)
friend

Definition at line 125 of file PSEUDO_F32vec4.h.

◆ sgn [3/3]

float sgn ( float  x)
friend

Definition at line 116 of file PSEUDO_F32vec4.h.

◆ sin [1/2]

F32vec4 sin ( const F32vec4 a)
friend

Definition at line 169 of file P4_F32vec4.h.

◆ sin [2/2]

F32vec4 sin ( const F32vec4 a)
friend

Definition at line 128 of file PSEUDO_F32vec4.h.

◆ sqrt [1/2]

F32vec4 sqrt ( const F32vec4 a)
friend

Definition at line 79 of file P4_F32vec4.h.

◆ sqrt [2/2]

F32vec4 sqrt ( const F32vec4 a)
friend

Definition at line 121 of file PSEUDO_F32vec4.h.

Member Data Documentation

◆ v [1/2]

__m128 F32vec4::v

Definition at line 46 of file P4_F32vec4.h.

Referenced by F32vec4(), F32vec4(), operator __m128(), operator[](), and operator[]().

◆ v [2/2]

float F32vec4::v[4]

Definition at line 29 of file PSEUDO_F32vec4.h.


The documentation for this class was generated from the following files: