Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooBatchCompute::RF_ARCH::Batch Class Reference

Definition at line 42 of file Batches.h.

Public Member Functions

 Batch ()=default
 
 Batch (InputArr array, bool isVector)
 
void advance (size_t _nEvents)
 
__roodevice__ constexpr bool isItVector () const
 
constexpr double operator[] (size_t i) const noexcept
 
void set (double scalar, InputArr array, bool isVector)
 

Private Attributes

const double *__restrict _array = nullptr
 
bool _isVector = false
 
double _scalar = 0
 

#include </home/sftnight/build/workspace/root-makedoc-v626/rootspi/rdoc/src/v6-26-00-patches/roofit/batchcompute/src/Batches.h>

Constructor & Destructor Documentation

◆ Batch() [1/2]

RooBatchCompute::RF_ARCH::Batch::Batch ( )
default

◆ Batch() [2/2]

RooBatchCompute::RF_ARCH::Batch::Batch ( InputArr  array,
bool  isVector 
)
inline

Definition at line 50 of file Batches.h.

Member Function Documentation

◆ advance()

void RooBatchCompute::RF_ARCH::Batch::advance ( size_t  _nEvents)
inline

Definition at line 59 of file Batches.h.

◆ isItVector()

__roodevice__ constexpr bool RooBatchCompute::RF_ARCH::Batch::isItVector ( ) const
inlineconstexpr

Definition at line 52 of file Batches.h.

◆ operator[]()

constexpr double RooBatchCompute::RF_ARCH::Batch::operator[] ( size_t  i) const
inlineconstexprnoexcept

Definition at line 63 of file Batches.h.

◆ set()

void RooBatchCompute::RF_ARCH::Batch::set ( double  scalar,
InputArr  array,
bool  isVector 
)
inline

Definition at line 53 of file Batches.h.

Member Data Documentation

◆ _array

const double* __restrict RooBatchCompute::RF_ARCH::Batch::_array = nullptr
private

Definition at line 45 of file Batches.h.

◆ _isVector

bool RooBatchCompute::RF_ARCH::Batch::_isVector = false
private

Definition at line 46 of file Batches.h.

◆ _scalar

double RooBatchCompute::RF_ARCH::Batch::_scalar = 0
private

Definition at line 44 of file Batches.h.

  • roofit/batchcompute/src/Batches.h