BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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 F32vec4(), acos, asgnb, atan2, bool2int, cos, exp, fabs, if3, log, max, min, operator!, operator&, operator*, operator+, operator-, operator/, operator<, operator<<, operator<<, operator<=, operator==, operator>, operator>=, operator>>, operator>>, operator>>(), operator^, operator|, operator||, rcp, rsqrt, sgn, sin, sqrt, and vec_arithmetic().

Here is the caller graph for this function:

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

References v.

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

References v.

◆ F32vec4() [5/8]

F32vec4::F32vec4 ( )
inline

Definition at line 31 of file PSEUDO_F32vec4.h.

◆ F32vec4() [6/8]

F32vec4::F32vec4 ( const F32vec4 & a)
inline

Definition at line 32 of file PSEUDO_F32vec4.h.

References F32vec4(), and v.

Here is the call graph for this function:

◆ F32vec4() [7/8]

F32vec4::F32vec4 ( const float & a)
inline

Definition at line 39 of file PSEUDO_F32vec4.h.

References v.

◆ F32vec4() [8/8]

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

Definition at line 47 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 28 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 29 of file PSEUDO_F32vec4.h.

References i, and v.

◆ vec_arithmetic() [1/2]

F32vec4::vec_arithmetic ( F32vec4 ,
float  )

References F32vec4().

Here is the call graph for this function:

◆ vec_arithmetic() [2/2]

F32vec4::vec_arithmetic ( F32vec4 ,
float  )

References F32vec4().

Here is the call graph for this function:

◆ acos

F32vec4 acos ( const F32vec4 & a)
friend

Definition at line 171 of file P4_F32vec4.h.

References F32vec4(), _f1, and acos.

Referenced by acos.

◆ asgnb [1/3]

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

Definition at line 101 of file P4_F32vec4.h.

References F32vec4(), and _f32vec4_sgn_mask.

Referenced by asgnb.

◆ asgnb [2/3]

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

Definition at line 135 of file PSEUDO_F32vec4.h.

References F32vec4(), _f2, and asgnb.

◆ asgnb [3/3]

float asgnb ( float x,
float y )
friend

Definition at line 128 of file PSEUDO_F32vec4.h.

References fabs, x, and y.

◆ atan2

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

Definition at line 175 of file P4_F32vec4.h.

References F32vec4(), x, and y.

◆ bool2int [1/2]

F32vec4 bool2int ( const F32vec4 & a)
friend

Definition at line 154 of file P4_F32vec4.h.

References F32vec4(), and if3.

◆ bool2int [2/2]

F32vec4 bool2int ( const F32vec4 & a)
friend

Definition at line 120 of file PSEUDO_F32vec4.h.

References F32vec4(), and if3.

◆ cos [1/2]

F32vec4 cos ( const F32vec4 & a)
friend

Definition at line 170 of file P4_F32vec4.h.

References F32vec4(), _f1, and cos.

Referenced by cos.

◆ cos [2/2]

F32vec4 cos ( const F32vec4 & a)
friend

Definition at line 144 of file PSEUDO_F32vec4.h.

References F32vec4(), _f1, and cos.

◆ exp [1/2]

F32vec4 exp ( const F32vec4 & a)
friend

Definition at line 167 of file P4_F32vec4.h.

References F32vec4(), _f1, and exp.

Referenced by exp.

◆ exp [2/2]

F32vec4 exp ( const F32vec4 & a)
friend

Definition at line 141 of file PSEUDO_F32vec4.h.

References F32vec4(), _f1, and exp.

◆ fabs [1/2]

F32vec4 fabs ( const F32vec4 & a)
friend

Definition at line 97 of file P4_F32vec4.h.

References F32vec4(), and _f32vec4_abs_mask.

Referenced by asgnb, fabs, and operator>>().

◆ fabs [2/2]

F32vec4 fabs ( const F32vec4 & a)
friend

Definition at line 139 of file PSEUDO_F32vec4.h.

References F32vec4(), _f1, and fabs.

◆ if3

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

Definition at line 105 of file PSEUDO_F32vec4.h.

References F32vec4().

◆ log [1/2]

F32vec4 log ( const F32vec4 & a)
friend

Definition at line 168 of file P4_F32vec4.h.

References F32vec4(), _f1, and log.

Referenced by log.

◆ log [2/2]

F32vec4 log ( const F32vec4 & a)
friend

Definition at line 142 of file PSEUDO_F32vec4.h.

References F32vec4(), _f1, and log.

◆ max [1/3]

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

Definition at line 76 of file P4_F32vec4.h.

References F32vec4().

Referenced by max.

◆ max [2/3]

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

Definition at line 134 of file PSEUDO_F32vec4.h.

References F32vec4(), _f2, and max.

◆ max [3/3]

float max ( float x,
float y )
friend

Definition at line 127 of file PSEUDO_F32vec4.h.

References x, and y.

◆ min [1/3]

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

Definition at line 75 of file P4_F32vec4.h.

References F32vec4().

Referenced by min.

◆ min [2/3]

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

Definition at line 133 of file PSEUDO_F32vec4.h.

References F32vec4(), _f2, and min.

◆ min [3/3]

float min ( float x,
float y )
friend

Definition at line 126 of file PSEUDO_F32vec4.h.

References x, and y.

◆ operator! [1/2]

F32vec4 operator! ( const F32vec4 & a)
friend

Definition at line 117 of file P4_F32vec4.h.

References F32vec4(), and _f32vec4_true.

◆ operator! [2/2]

F32vec4 operator! ( const F32vec4 & a)
friend

Definition at line 94 of file PSEUDO_F32vec4.h.

References F32vec4().

◆ operator& [1/2]

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

Definition at line 105 of file P4_F32vec4.h.

References F32vec4().

◆ operator& [2/2]

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

Definition at line 90 of file PSEUDO_F32vec4.h.

References F32vec4(), and _op.

◆ operator* [1/2]

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

Definition at line 71 of file P4_F32vec4.h.

References F32vec4().

◆ operator* [2/2]

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

Definition at line 80 of file PSEUDO_F32vec4.h.

References F32vec4(), and _op.

◆ operator+ [1/2]

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

Definition at line 69 of file P4_F32vec4.h.

References F32vec4().

◆ operator+ [2/2]

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

Definition at line 78 of file PSEUDO_F32vec4.h.

References F32vec4(), and _op.

◆ operator- [1/2]

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

Definition at line 70 of file P4_F32vec4.h.

References F32vec4().

◆ operator- [2/2]

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

Definition at line 79 of file PSEUDO_F32vec4.h.

References F32vec4(), and _op.

◆ operator/ [1/2]

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

Definition at line 72 of file P4_F32vec4.h.

References F32vec4().

◆ operator/ [2/2]

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

Definition at line 81 of file PSEUDO_F32vec4.h.

References F32vec4(), and _op.

◆ operator< [1/2]

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

Definition at line 127 of file P4_F32vec4.h.

References F32vec4().

◆ operator< [2/2]

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

Definition at line 84 of file PSEUDO_F32vec4.h.

References F32vec4(), and _op.

◆ operator<< [1/2]

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

Definition at line 153 of file PSEUDO_F32vec4.h.

References F32vec4().

◆ operator<< [2/2]

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

Definition at line 215 of file P4_F32vec4.h.

References F32vec4().

◆ operator<= [1/2]

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

Definition at line 131 of file P4_F32vec4.h.

References F32vec4().

◆ operator<= [2/2]

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

Definition at line 85 of file PSEUDO_F32vec4.h.

References F32vec4(), and _op.

◆ operator==

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

Definition at line 143 of file P4_F32vec4.h.

References F32vec4().

◆ operator> [1/2]

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

Definition at line 135 of file P4_F32vec4.h.

References F32vec4().

◆ operator> [2/2]

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

Definition at line 86 of file PSEUDO_F32vec4.h.

References F32vec4(), and _op.

◆ operator>= [1/2]

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

Definition at line 139 of file P4_F32vec4.h.

References F32vec4().

◆ operator>= [2/2]

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

Definition at line 87 of file PSEUDO_F32vec4.h.

References F32vec4(), and _op.

◆ operator>> [1/2]

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

Definition at line 159 of file PSEUDO_F32vec4.h.

References F32vec4().

◆ operator>> [2/2]

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

Definition at line 221 of file P4_F32vec4.h.

References F32vec4().

◆ operator^

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

Definition at line 113 of file P4_F32vec4.h.

References F32vec4().

◆ operator| [1/2]

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

Definition at line 109 of file P4_F32vec4.h.

References F32vec4().

◆ operator| [2/2]

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

Definition at line 91 of file PSEUDO_F32vec4.h.

References F32vec4(), and _op.

◆ operator||

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

Definition at line 92 of file PSEUDO_F32vec4.h.

References F32vec4(), and _op.

◆ rcp [1/3]

F32vec4 rcp ( const F32vec4 & a)
friend

Definition at line 90 of file P4_F32vec4.h.

References F32vec4().

Referenced by rcp.

◆ rcp [2/3]

F32vec4 rcp ( const F32vec4 & a)
friend

Definition at line 138 of file PSEUDO_F32vec4.h.

References F32vec4(), _f1, and rcp.

◆ rcp [3/3]

float rcp ( float x)
friend

Definition at line 130 of file PSEUDO_F32vec4.h.

References x.

◆ rsqrt [1/3]

F32vec4 rsqrt ( const F32vec4 & a)
friend

Definition at line 82 of file P4_F32vec4.h.

References F32vec4().

Referenced by rsqrt.

◆ rsqrt [2/3]

F32vec4 rsqrt ( const F32vec4 & a)
friend

Definition at line 137 of file PSEUDO_F32vec4.h.

References F32vec4(), _f1, and rsqrt.

◆ rsqrt [3/3]

float rsqrt ( float x)
friend

Definition at line 129 of file PSEUDO_F32vec4.h.

References sqrt, and x.

◆ sgn [1/3]

F32vec4 sgn ( const F32vec4 & a)
friend

Definition at line 100 of file P4_F32vec4.h.

References F32vec4(), _f32vec4_one, and _f32vec4_sgn_mask.

Referenced by sgn.

◆ sgn [2/3]

F32vec4 sgn ( const F32vec4 & a)
friend

Definition at line 140 of file PSEUDO_F32vec4.h.

References F32vec4(), _f1, and sgn.

◆ sgn [3/3]

float sgn ( float x)
friend

Definition at line 131 of file PSEUDO_F32vec4.h.

References x.

◆ sin [1/2]

F32vec4 sin ( const F32vec4 & a)
friend

Definition at line 169 of file P4_F32vec4.h.

References F32vec4(), _f1, and sin.

Referenced by sin.

◆ sin [2/2]

F32vec4 sin ( const F32vec4 & a)
friend

Definition at line 143 of file PSEUDO_F32vec4.h.

References F32vec4(), _f1, and sin.

◆ sqrt [1/2]

F32vec4 sqrt ( const F32vec4 & a)
friend

Definition at line 79 of file P4_F32vec4.h.

References F32vec4().

Referenced by rsqrt, and sqrt.

◆ sqrt [2/2]

F32vec4 sqrt ( const F32vec4 & a)
friend

Definition at line 136 of file PSEUDO_F32vec4.h.

References F32vec4(), _f1, and sqrt.

Member Data Documentation

◆ v [1/2]

__m128 F32vec4::v

Definition at line 46 of file P4_F32vec4.h.

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

◆ v [2/2]

float F32vec4::v[4]

Definition at line 26 of file PSEUDO_F32vec4.h.


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