CbmRoot
Loading...
Searching...
No Matches
cbm::algo::kf::utils::VecCopy< TdataA, TdataB, TDoAllA, TDoAllB > Class Template Reference

Copies all/one SIMD entries from one class to the other class. More...

#include <KfUtils.h>

Static Public Member Functions

static void CopyEntries (TdataA &a, int ia, const TdataB &b, int ib)
 

Detailed Description

template<typename TdataA, typename TdataB, bool TDoAllA, bool TDoAllB>
class cbm::algo::kf::utils::VecCopy< TdataA, TdataB, TDoAllA, TDoAllB >

Copies all/one SIMD entries from one class to the other class.

It helps to work with templates when classes might be SIMD or scalar

If one of the classes is scalar, its SIMD element index is ignored

Template Parameters
TdataAType of the first class
TdataBType of the second class
TDoAllAIf true, all entries of the first class must be set
TDoAllBIf true, all entries of the second class must be used
Parameters
aFirst class
iaIndex of SIMD vector element of the first class
bSecond class
ibIndex of SIMD vector element of the second class

Definition at line 179 of file KfUtils.h.

Member Function Documentation

◆ CopyEntries()

template<typename TdataA , typename TdataB , bool TDoAllA, bool TDoAllB>
static void cbm::algo::kf::utils::VecCopy< TdataA, TdataB, TDoAllA, TDoAllB >::CopyEntries ( TdataA & a,
int ia,
const TdataB & b,
int ib )
inlinestatic

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