Logo ROOT  
Reference Guide
RooBatchCompute Namespace Reference

VDT headers for RooFit. More...

Namespaces

 RF_ARCH
 Contains the part of the code of the RooBatchCompute Library that needs to be compiled for every different cpu architecture.
 

Classes

class  BracketAdapter
 Little adapter that gives a bracket operator to types that don't have one. More...
 
class  BracketAdapterWithMask
 
class  RooBatchComputeInterface
 The interface which should be implemented to provide optimised evaluateSpan() functionality for RooFit PDF classes. More...
 
struct  RunContext
 Data that has to be passed around when evaluating functions / PDFs. More...
 

Functions

double fast_exp (double x)
 
double fast_isqrt (double x)
 
double fast_log (double x)
 

Variables

R__EXTERN RooBatchComputeInterfacedispatch =nullptr
 The dispatch pointer points to the instance of the compute library in use, provided it has been loaded. More...
 

Detailed Description

VDT headers for RooFit.

Since RooFit cannot directly depend on VDT (it might not be available), this layer can be used to switch between different implementations.

Function Documentation

◆ fast_exp()

double RooBatchCompute::fast_exp ( double  x)
inline

Definition at line 52 of file RooVDTHeaders.h.

◆ fast_isqrt()

double RooBatchCompute::fast_isqrt ( double  x)
inline

Definition at line 60 of file RooVDTHeaders.h.

◆ fast_log()

double RooBatchCompute::fast_log ( double  x)
inline

Definition at line 56 of file RooVDTHeaders.h.

Variable Documentation

◆ dispatch

RooBatchCompute::RooBatchComputeInterface * RooBatchCompute::dispatch =nullptr

The dispatch pointer points to the instance of the compute library in use, provided it has been loaded.

The pointer is of type RooBatchComputeInterface*, so that calling functions through it are always virtual calls.

See also
RooBatchComputeInterface, RooBatchComputeClass, RF_ARCH

Definition at line 45 of file RooBatchCompute.h.