PandaRoot
PSEUDO_F32vec1.h File Reference
#include <iostream>
#include <cmath>

Go to the source code of this file.

Classes

class  F32vec1
 
struct  nsL1::vector< T >
 
struct  nsL1vector< T >
 

Namespaces

 nsL1
 

Macros

#define _op(A, B, O)
 
#define NotEmpty(a)   bool((a)[0])
 
#define Empty(a)   !(bool((a)[0]))
 
#define _fvecalignment
 

Typedefs

typedef F32vec1 fvec
 
typedef nsL1::vector< fvec >::TSimd nsL1::vector_fvec
 

Functions

class F32vec1 __attribute__ ((aligned(4)))
 
float & operator[] (int i)
 
 F32vec1 ()
 
 F32vec1 (const float &v0)
 
 operator float () const
 
F32vec1 rcp (const F32vec1 &a)
 
void operator+= (F32vec1 &a, const F32vec1 &b)
 
void operator-= (F32vec1 &a, const F32vec1 &b)
 
void operator*= (F32vec1 &a, const F32vec1 &b)
 
void operator/= (F32vec1 &a, const F32vec1 &b)
 
F32vec1 operator< (const F32vec1 &a, const F32vec1 &b)
 
F32vec1 operator<= (const F32vec1 &a, const F32vec1 &b)
 
F32vec1 operator> (const F32vec1 &a, const F32vec1 &b)
 
F32vec1 operator>= (const F32vec1 &a, const F32vec1 &b)
 
F32vec1 operator & (const F32vec1 &a, const F32vec1 &b)
 
F32vec1 operator| (const F32vec1 &a, const F32vec1 &b)
 
F32vec1 operator|| (const F32vec1 &a, const F32vec1 &b)
 
F32vec1 operator! (const F32vec1 &a)
 
F32vec1 if3 (const F32vec1 &a, const F32vec1 &b, const F32vec1 &c)
 
F32vec1 bool2int (const F32vec1 &a)
 
ostream & operator<< (ostream &strm, const F32vec1 &a)
 
istream & operator>> (istream &strm, F32vec1 &a)
 

Variables

float v
 
const int fvecLen = 1
 
nsL1vector __attribute__
 

Macro Definition Documentation

◆ _fvecalignment

#define _fvecalignment

Definition at line 139 of file PSEUDO_F32vec1.h.

◆ _op

#define _op (   A,
  B,
 
)
Value:
F32vec1 z; \
z.v = A.v O B.v; \
return z;

Definition at line 223 of file PSEUDO_F32vec1.h.

◆ Empty

#define Empty (   a)    !(bool((a)[0]))

Definition at line 257 of file PSEUDO_F32vec1.h.

◆ NotEmpty

#define NotEmpty (   a)    bool((a)[0])

Definition at line 256 of file PSEUDO_F32vec1.h.

Typedef Documentation

◆ fvec

typedef F32vec1 fvec

Definition at line 133 of file PSEUDO_F32vec1.h.

Function Documentation

◆ __attribute__()

class F32vec1 __attribute__ ( (aligned(4))  )

◆ bool2int()

friend F32vec1 __attribute__::bool2int ( const F32vec1 a)

Definition at line 258 of file PSEUDO_F32vec1.h.

◆ F32vec1() [1/2]

__attribute__::F32vec1 ( )

Definition at line 176 of file PSEUDO_F32vec1.h.

◆ F32vec1() [2/2]

__attribute__::F32vec1 ( const float &  v0)

Definition at line 177 of file PSEUDO_F32vec1.h.

◆ if3()

friend F32vec1 __attribute__::if3 ( const F32vec1 a,
const F32vec1 b,
const F32vec1 c 
)

Definition at line 248 of file PSEUDO_F32vec1.h.

◆ operator &()

friend F32vec1 __attribute__::operator& ( const F32vec1 a,
const F32vec1 b 
)

Definition at line 235 of file PSEUDO_F32vec1.h.

◆ operator float()

__attribute__::operator float ( ) const

Definition at line 180 of file PSEUDO_F32vec1.h.

◆ operator!()

friend F32vec1 __attribute__::operator! ( const F32vec1 a)

Definition at line 240 of file PSEUDO_F32vec1.h.

◆ operator*=()

friend void __attribute__::operator*= ( F32vec1 a,
const F32vec1 b 
)

Definition at line 220 of file PSEUDO_F32vec1.h.

◆ operator+=()

friend void __attribute__::operator+= ( F32vec1 a,
const F32vec1 b 
)

Definition at line 218 of file PSEUDO_F32vec1.h.

Referenced by AliKFVertex::operator+=().

◆ operator-=()

friend void __attribute__::operator-= ( F32vec1 a,
const F32vec1 b 
)

Definition at line 219 of file PSEUDO_F32vec1.h.

◆ operator/=()

friend void __attribute__::operator/= ( F32vec1 a,
const F32vec1 b 
)

Definition at line 221 of file PSEUDO_F32vec1.h.

◆ operator<()

friend F32vec1 __attribute__::operator< ( const F32vec1 a,
const F32vec1 b 
)

Definition at line 229 of file PSEUDO_F32vec1.h.

◆ operator<<()

friend ostream& __attribute__::operator<< ( ostream &  strm,
const F32vec1 a 
)

Definition at line 263 of file PSEUDO_F32vec1.h.

◆ operator<=()

friend F32vec1 __attribute__::operator<= ( const F32vec1 a,
const F32vec1 b 
)

Definition at line 230 of file PSEUDO_F32vec1.h.

◆ operator>()

friend F32vec1 __attribute__::operator> ( const F32vec1 a,
const F32vec1 b 
)

Definition at line 231 of file PSEUDO_F32vec1.h.

◆ operator>=()

friend F32vec1 __attribute__::operator>= ( const F32vec1 a,
const F32vec1 b 
)

Definition at line 232 of file PSEUDO_F32vec1.h.

◆ operator>>()

friend istream& __attribute__::operator>> ( istream &  strm,
F32vec1 a 
)

Definition at line 269 of file PSEUDO_F32vec1.h.

◆ operator[]()

float& __attribute__::operator[] ( int  i)

Definition at line 173 of file PSEUDO_F32vec1.h.

◆ operator|()

friend F32vec1 __attribute__::operator| ( const F32vec1 a,
const F32vec1 b 
)

Definition at line 236 of file PSEUDO_F32vec1.h.

◆ operator||()

friend F32vec1 __attribute__::operator|| ( const F32vec1 a,
const F32vec1 b 
)

Definition at line 237 of file PSEUDO_F32vec1.h.

◆ rcp()

friend F32vec1 __attribute__::rcp ( const F32vec1 a)

Definition at line 194 of file PSEUDO_F32vec1.h.

Variable Documentation

◆ __attribute__

nsL1vector __attribute__

◆ fvecLen

const int fvecLen = 1

Definition at line 136 of file PSEUDO_F32vec1.h.

◆ v

float v

Definition at line 171 of file PSEUDO_F32vec1.h.