Loading [MathJax]/extensions/tex2jax.js
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
PLMD::LeptonCall Class Reference

#include <LeptonCall.h>

Public Member Functions

double evaluate (const std::vector< double > &args) const
 
double evaluateDeriv (const unsigned &ider, const std::vector< double > &args) const
 
unsigned getNumberOfArguments () const
 
void set (const std::string &func, const std::vector< std::string > &var, Action *action=NULL, const bool &a=false)
 

Private Attributes

bool allow_extra_args
 
std::vector< lepton::CompiledExpressionexpression
 Lepton expression.
 
std::vector< std::vector< lepton::CompiledExpression > > expression_deriv
 Lepton expression for derivative.
 
std::vector< double * > lepton_ref
 
std::vector< double * > lepton_ref_deriv
 
unsigned nargs
 

Member Function Documentation

◆ evaluate()

double PLMD::LeptonCall::evaluate ( const std::vector< double > & args) const

◆ evaluateDeriv()

double PLMD::LeptonCall::evaluateDeriv ( const unsigned & ider,
const std::vector< double > & args ) const

◆ getNumberOfArguments()

unsigned PLMD::LeptonCall::getNumberOfArguments ( ) const
inline

◆ set()

void PLMD::LeptonCall::set ( const std::string & func,
const std::vector< std::string > & var,
Action * action = NULL,
const bool & a = false )

Member Data Documentation

◆ allow_extra_args

bool PLMD::LeptonCall::allow_extra_args
private

◆ expression

std::vector<lepton::CompiledExpression> PLMD::LeptonCall::expression
private

Lepton expression.

Warning
Since lepton::CompiledExpression is mutable, a vector is necessary for multithreading!

◆ expression_deriv

std::vector<std::vector<lepton::CompiledExpression> > PLMD::LeptonCall::expression_deriv
private

Lepton expression for derivative.

Warning
Since lepton::CompiledExpression is mutable, a vector is necessary for multithreading!

◆ lepton_ref

std::vector<double*> PLMD::LeptonCall::lepton_ref
private

◆ lepton_ref_deriv

std::vector<double*> PLMD::LeptonCall::lepton_ref_deriv
private

◆ nargs

unsigned PLMD::LeptonCall::nargs
private

The documentation for this class was generated from the following files: