17#ifndef ROOFIT_BATCHCOMPUTE_BRACKETADAPTER_H
18#define ROOFIT_BATCHCOMPUTE_BRACKETADAPTER_H
28template <
class T =
double>
64 _mask(batch.
size() > 1 ? ~static_cast<size_t>(0): 0)
75 _mask(batch.
size() > 1 ? ~static_cast<size_t>(0): 0)
77 assert(batch.size() > 0);
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
const double *__restrict const _pointer
BracketAdapterWithMask(double payload, const std::span< const double > &batch) noexcept
Construct adapter from a fallback value and a batch of values.
BracketAdapterWithMask & operator=(const BracketAdapterWithMask &other)=delete
BracketAdapterWithMask(const BracketAdapterWithMask &other) noexcept
bool isBatch() const noexcept
double operator[](std::size_t i) const noexcept
BracketAdapterWithMask(std::span< const double > batch)
Construct adapter from a batch of values.
Little adapter that gives a bracket operator to types that don't have one.
constexpr BracketAdapter(T payload) noexcept
constexpr bool isBatch() const noexcept
constexpr double operator[](std::size_t) const
constexpr BracketAdapter(std::span< const T > payload) noexcept
Namespace for dispatching RooFit computations to various backends.