CbmRoot
Loading...
Searching...
No Matches
cbm::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)
 
fvec operator- (const fvec &a, const fvec &b)
 
fvec operator- (const fvec &a)
 
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)
 
fvec min (const fvec &a, const fvec &b)
 
fscal max (fscal x, fscal y)
 
fvec max (const fvec &a, const fvec &b)
 
fscal asgnb (fscal x, fscal y)
 
fvec asgnb (const fvec &a, const fvec &b)
 
fscal sgn (fscal x)
 
fvec sgn (const fvec &a)
 
fvec sqrt (const fvec &a)
 
fvec exp (const fvec &a)
 
fvec log (const fvec &a)
 
fvec sin (const fvec &a)
 
fvec cos (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]

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

Definition at line 127 of file KfSimdPseudo.h.

◆ fvec() [2/3]

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

Definition at line 129 of file KfSimdPseudo.h.

◆ fvec() [3/3]

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

Definition at line 136 of file KfSimdPseudo.h.

Member Function Documentation

◆ One()

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

Definition at line 153 of file KfSimdPseudo.h.

◆ operator[]() [1/2]

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

Definition at line 157 of file KfSimdPseudo.h.

◆ operator[]() [2/2]

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

Definition at line 159 of file KfSimdPseudo.h.

◆ serialize()

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

Definition at line 146 of file KfSimdPseudo.h.

◆ setZero()

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

Definition at line 161 of file KfSimdPseudo.h.

◆ size()

static constexpr size_t cbm::algo::kf::fvec::size ( )
inlinestaticconstexpr

Definition at line 123 of file KfSimdPseudo.h.

◆ Zero()

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

Definition at line 155 of file KfSimdPseudo.h.

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.

◆ asgnb [2/2]

fscal asgnb ( fscal x,
fscal y )
friend

Definition at line 233 of file KfSimdPseudo.h.

◆ boost::serialization::access

friend class boost::serialization::access
friend

Serialization block.

Definition at line 144 of file KfSimdPseudo.h.

◆ cos

fvec cos ( const fvec & a)
friend

Definition at line 245 of file KfSimdPseudo.h.

◆ exp

fvec exp ( const fvec & a)
friend

Definition at line 242 of file KfSimdPseudo.h.

◆ iif

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

Definition at line 221 of file KfSimdPseudo.h.

◆ isnan

fmask isnan ( const fvec & a)
friend

Definition at line 212 of file KfSimdPseudo.h.

◆ log

fvec log ( const fvec & a)
friend

Definition at line 243 of file KfSimdPseudo.h.

◆ max [1/2]

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

Definition at line 237 of file KfSimdPseudo.h.

◆ max [2/2]

fscal max ( fscal x,
fscal y )
friend

Definition at line 232 of file KfSimdPseudo.h.

◆ min [1/2]

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

Definition at line 236 of file KfSimdPseudo.h.

◆ min [2/2]

fscal min ( fscal x,
fscal y )
friend

Definition at line 231 of file KfSimdPseudo.h.

◆ operator*

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

Definition at line 202 of file KfSimdPseudo.h.

◆ operator*=

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

Definition at line 258 of file KfSimdPseudo.h.

◆ operator+ [1/2]

fvec operator+ ( const fvec & a)
friend

Definition at line 254 of file KfSimdPseudo.h.

◆ operator+ [2/2]

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

Definition at line 200 of file KfSimdPseudo.h.

◆ operator+=

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

Definition at line 256 of file KfSimdPseudo.h.

◆ operator- [1/2]

fvec operator- ( const fvec & a)
friend

Definition at line 253 of file KfSimdPseudo.h.

◆ operator- [2/2]

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

Definition at line 201 of file KfSimdPseudo.h.

◆ operator-=

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

Definition at line 257 of file KfSimdPseudo.h.

◆ operator/

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

Definition at line 203 of file KfSimdPseudo.h.

◆ operator/=

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

Definition at line 259 of file KfSimdPseudo.h.

◆ operator<

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

Definition at line 206 of file KfSimdPseudo.h.

◆ operator<<

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

Definition at line 261 of file KfSimdPseudo.h.

◆ operator<=

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

Definition at line 207 of file KfSimdPseudo.h.

◆ operator==

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

Definition at line 210 of file KfSimdPseudo.h.

◆ operator>

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

Definition at line 208 of file KfSimdPseudo.h.

◆ operator>=

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

Definition at line 209 of file KfSimdPseudo.h.

◆ operator>>

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

Definition at line 271 of file KfSimdPseudo.h.

◆ sgn [1/2]

fvec sgn ( const fvec & a)
friend

Definition at line 241 of file KfSimdPseudo.h.

◆ sgn [2/2]

fscal sgn ( fscal x)
friend

Definition at line 234 of file KfSimdPseudo.h.

◆ sin

fvec sin ( const fvec & a)
friend

Definition at line 244 of file KfSimdPseudo.h.

◆ sqrt

fvec sqrt ( const fvec & a)
friend

Definition at line 239 of file KfSimdPseudo.h.

Member Data Documentation

◆ v

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

Definition at line 125 of file KfSimdPseudo.h.


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