CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
reco::formula Namespace Reference

Classes

struct  ArrayAdaptor
 
class  BinaryOperatorEvaluator
 
class  BinaryOperatorEvaluatorBase
 
class  ConstantEvaluator
 
class  EvaluatorBase
 
class  FunctionOneArgEvaluator
 
class  FunctionTwoArgsEvaluator
 
class  ParameterEvaluator
 
class  UnaryMinusEvaluator
 
class  VariableEvaluator
 

Functions

double const * startingAddress (ArrayAdaptor const &iV)
 
double const * startingAddress (std::vector< double > const &iV)
 
template<size_t t>
double const * startingAddress (std::array< double, t > const &iV)
 

Function Documentation

double const* reco::formula::startingAddress ( ArrayAdaptor const &  iV)
inline
double const* reco::formula::startingAddress ( std::vector< double > const &  iV)
inline

Definition at line 49 of file FormulaEvaluator.h.

49  {
50  if(iV.empty()) {
51  return nullptr;
52  }
53  return &iV[0];
54  }
template<size_t t>
double const* reco::formula::startingAddress ( std::array< double, t > const &  iV)
inline

Definition at line 57 of file FormulaEvaluator.h.

57  {
58  if(iV.empty()) {
59  return nullptr;
60  }
61  return &iV[0];
62  }