CbmRoot
Loading...
Searching...
No Matches
cbm::algo::kf::fvec Class Reference

#include <KfSimdPseudo.h>

Public Member Functions

 fvec ()
 
 fvec (const fvec &a)
 
 fvec (fscal a)
 
template<class Archive>
void serialize (Archive &ar, const unsigned int)
 
fscaloperator[] (size_t i)
 
fscal operator[] (size_t i) const
 
void setZero (fmask m)
 

Static Public Member Functions

static constexpr size_t size ()
 
static fvec One ()
 
static fvec Zero ()
 

Public Attributes

fscal v [fmask::Size]
 

Friends

class boost::serialization::access
 Serialization block.
 
fvec operator+ (const fvec &a, const fvec &b)
 
fvec operator- (const fvec &a, const fvec &b)
 
fvec operator* (const fvec &a, const fvec &b)
 
fvec operator/ (const fvec &a, const fvec &b)
 
fmask operator< (const fvec &a, const fvec &b)
 
fmask operator<= (const fvec &a, const fvec &b)
 
fmask operator> (const fvec &a, const fvec &b)
 
fmask operator>= (const fvec &a, const fvec &b)
 
fmask operator== (const fvec &a, const fvec &b)
 
fmask isnan (const fvec &a)
 
fvec iif (fmask a, fvec b, fvec c)
 
fscal min (fscal x, fscal y)
 
fscal max (fscal x, fscal y)
 
fscal asgnb (fscal x, fscal y)
 
fscal sgn (fscal x)
 
fvec min (const fvec &a, const fvec &b)
 
fvec max (const fvec &a, const fvec &b)
 
fvec asgnb (const fvec &a, const fvec &b)
 
fvec sqrt (const fvec &a)
 
fvec sgn (const fvec &a)
 
fvec exp (const fvec &a)
 
fvec log (const fvec &a)
 
fvec sin (const fvec &a)
 
fvec cos (const fvec &a)
 
fvec operator- (const fvec &a)
 
fvec operator+ (const fvec &a)
 
void operator+= (fvec &a, const fvec &b)
 
void operator-= (fvec &a, const fvec &b)
 
void operator*= (fvec &a, const fvec &b)
 
void operator/= (fvec &a, const fvec &b)
 
std::ostream & operator<< (std::ostream &strm, const fvec &a)
 
std::istream & operator>> (std::istream &strm, fvec &a)
 

Detailed Description

Definition at line 120 of file KfSimdPseudo.h.

Constructor & Destructor Documentation

◆ fvec() [1/3]

◆ fvec() [2/3]

cbm::algo::kf::fvec::fvec ( const fvec & a)
inline

Definition at line 129 of file KfSimdPseudo.h.

References fvec(), and size().

◆ fvec() [3/3]

cbm::algo::kf::fvec::fvec ( fscal a)
inline

Definition at line 136 of file KfSimdPseudo.h.

Member Function Documentation

◆ One()

◆ operator[]() [1/2]

fscal & cbm::algo::kf::fvec::operator[] ( size_t i)
inline

Definition at line 157 of file KfSimdPseudo.h.

References v.

◆ operator[]() [2/2]

fscal cbm::algo::kf::fvec::operator[] ( size_t i) const
inline

Definition at line 159 of file KfSimdPseudo.h.

References v.

◆ serialize()

template<class Archive>
void cbm::algo::kf::fvec::serialize ( Archive & ar,
const unsigned int  )
inline

Definition at line 146 of file KfSimdPseudo.h.

References size(), and v.

◆ setZero()

void cbm::algo::kf::fvec::setZero ( fmask m)
inline

Definition at line 161 of file KfSimdPseudo.h.

References size(), and v.

Referenced by CbmL1PFFitter::GetChiToVertex().

◆ size()

◆ Zero()

static fvec cbm::algo::kf::fvec::Zero ( )
inlinestatic

Friends And Related Symbol Documentation

◆ asgnb [1/2]

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

Definition at line 238 of file KfSimdPseudo.h.

References _f2, asgnb, and fvec().

◆ asgnb [2/2]

fscal asgnb ( fscal x,
fscal y )
friend

Definition at line 233 of file KfSimdPseudo.h.

References x, and y.

Referenced by asgnb.

◆ boost::serialization::access

friend class boost::serialization::access
friend

Serialization block.

Definition at line 144 of file KfSimdPseudo.h.

References boost::serialization::access.

Referenced by boost::serialization::access.

◆ cos

fvec cos ( const fvec & a)
friend

Definition at line 245 of file KfSimdPseudo.h.

References _f1, cos, and fvec().

Referenced by cos.

◆ exp

fvec exp ( const fvec & a)
friend

Definition at line 242 of file KfSimdPseudo.h.

References _f1, exp, and fvec().

Referenced by exp.

◆ iif

fvec iif ( fmask a,
fvec b,
fvec c )
friend

Definition at line 221 of file KfSimdPseudo.h.

References fvec(), and size().

◆ isnan

fmask isnan ( const fvec & a)
friend

Definition at line 212 of file KfSimdPseudo.h.

References fvec(), and size().

◆ log

fvec log ( const fvec & a)
friend

Definition at line 243 of file KfSimdPseudo.h.

References _f1, fvec(), and log.

Referenced by log.

◆ max [1/2]

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

Definition at line 237 of file KfSimdPseudo.h.

References _f2, fvec(), and max.

◆ max [2/2]

fscal max ( fscal x,
fscal y )
friend

Definition at line 232 of file KfSimdPseudo.h.

References x, and y.

Referenced by max.

◆ min [1/2]

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

Definition at line 236 of file KfSimdPseudo.h.

References _f2, fvec(), and min.

◆ min [2/2]

fscal min ( fscal x,
fscal y )
friend

Definition at line 231 of file KfSimdPseudo.h.

References x, and y.

Referenced by min.

◆ operator*

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

Definition at line 202 of file KfSimdPseudo.h.

References _op, and fvec().

◆ operator*=

void operator*= ( fvec & a,
const fvec & b )
friend

Definition at line 258 of file KfSimdPseudo.h.

References fvec().

◆ operator+ [1/2]

fvec operator+ ( const fvec & a)
friend

Definition at line 254 of file KfSimdPseudo.h.

References fvec().

◆ operator+ [2/2]

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

Definition at line 200 of file KfSimdPseudo.h.

References _op, and fvec().

◆ operator+=

void operator+= ( fvec & a,
const fvec & b )
friend

Definition at line 256 of file KfSimdPseudo.h.

References fvec().

◆ operator- [1/2]

fvec operator- ( const fvec & a)
friend

Definition at line 253 of file KfSimdPseudo.h.

References fvec().

◆ operator- [2/2]

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

Definition at line 201 of file KfSimdPseudo.h.

References _op, and fvec().

◆ operator-=

void operator-= ( fvec & a,
const fvec & b )
friend

Definition at line 257 of file KfSimdPseudo.h.

References fvec().

◆ operator/

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

Definition at line 203 of file KfSimdPseudo.h.

References _op, and fvec().

◆ operator/=

void operator/= ( fvec & a,
const fvec & b )
friend

Definition at line 259 of file KfSimdPseudo.h.

References fvec().

◆ operator<

fmask operator< ( const fvec & a,
const fvec & b )
friend

Definition at line 206 of file KfSimdPseudo.h.

References _opComp, and fvec().

◆ operator<<

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

Definition at line 261 of file KfSimdPseudo.h.

References fvec(), and size().

◆ operator<=

fmask operator<= ( const fvec & a,
const fvec & b )
friend

Definition at line 207 of file KfSimdPseudo.h.

References _opComp, and fvec().

◆ operator==

fmask operator== ( const fvec & a,
const fvec & b )
friend

Definition at line 210 of file KfSimdPseudo.h.

References _opComp, and fvec().

◆ operator>

fmask operator> ( const fvec & a,
const fvec & b )
friend

Definition at line 208 of file KfSimdPseudo.h.

References _opComp, and fvec().

◆ operator>=

fmask operator>= ( const fvec & a,
const fvec & b )
friend

Definition at line 209 of file KfSimdPseudo.h.

References _opComp, and fvec().

◆ operator>>

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

Definition at line 271 of file KfSimdPseudo.h.

References fvec(), and size().

◆ sgn [1/2]

fvec sgn ( const fvec & a)
friend

Definition at line 241 of file KfSimdPseudo.h.

References _f1, fvec(), and sgn.

◆ sgn [2/2]

fscal sgn ( fscal x)
friend

Definition at line 234 of file KfSimdPseudo.h.

References x.

Referenced by sgn.

◆ sin

fvec sin ( const fvec & a)
friend

Definition at line 244 of file KfSimdPseudo.h.

References _f1, fvec(), and sin.

Referenced by sin.

◆ sqrt

fvec sqrt ( const fvec & a)
friend

Definition at line 239 of file KfSimdPseudo.h.

References _f1, fvec(), and sqrt.

Referenced by sqrt.

Member Data Documentation

◆ v

fscal cbm::algo::kf::fvec::v[fmask::Size]

Definition at line 125 of file KfSimdPseudo.h.

Referenced by operator[](), operator[](), serialize(), and setZero().


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