Definition at line 55 of file BracketAdapters.h.
#include </home/sftnight/build/workspace/root-makedoc-v630/rootspi/rdoc/src/v6-30-00-patches/roofit/roofitmore/src/BracketAdapters.h>
◆ BracketAdapterWithMask() [1/3]
RooBatchCompute::BracketAdapterWithMask::BracketAdapterWithMask |
( |
double |
payload, |
|
|
const std::span< const double > & |
batch |
|
) |
| |
|
inlinenoexcept |
Construct adapter from a fallback value and a batch of values.
- If
batch.empty()
, always return payload
.
- Else, return
batch[i]
.
Definition at line 60 of file BracketAdapters.h.
◆ BracketAdapterWithMask() [2/3]
RooBatchCompute::BracketAdapterWithMask::BracketAdapterWithMask |
( |
std::span< const double > |
batch | ) |
|
|
inline |
Construct adapter from a batch of values.
- If
batch.size() == 1
, always return the value at batch[0]
.
- Else, return
batch[i]
.
Definition at line 71 of file BracketAdapters.h.
◆ BracketAdapterWithMask() [3/3]
◆ isBatch()
bool RooBatchCompute::BracketAdapterWithMask::isBatch |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator=()
◆ operator[]()
double RooBatchCompute::BracketAdapterWithMask::operator[] |
( |
std::size_t |
i | ) |
const |
|
inlinenoexcept |
◆ _isBatch
const bool RooBatchCompute::BracketAdapterWithMask::_isBatch |
|
private |
◆ _mask
const size_t RooBatchCompute::BracketAdapterWithMask::_mask |
|
private |
◆ _payload
const double RooBatchCompute::BracketAdapterWithMask::_payload |
|
private |
◆ _pointer
const double* __restrict const RooBatchCompute::BracketAdapterWithMask::_pointer |
|
private |
roofit/roofitmore/src/BracketAdapters.h