Public Member Functions | Private Attributes | List of all members
PLMD::switchContainers::leptonSwitch::funcAndDeriv Class Reference

Lepton expression. More...

Public Member Functions

 funcAndDeriv (const funcAndDeriv &other)
 
 funcAndDeriv (const std::string &func)
 
auto & getVariables () const
 
auto & getVariables_derivative () const
 
std::pair< double, double > operator() (double const x) const
 
funcAndDerivoperator= (const funcAndDeriv &other)
 

Private Attributes

lepton::CompiledExpression deriv
 
lepton::CompiledExpression expression
 
double * varDevRef =nullptr
 
double * varRef =nullptr
 

Detailed Description

Lepton expression.

Constructor & Destructor Documentation

◆ funcAndDeriv() [1/2]

PLMD::switchContainers::leptonSwitch::funcAndDeriv::funcAndDeriv ( const std::string &  func)
inline

◆ funcAndDeriv() [2/2]

PLMD::switchContainers::leptonSwitch::funcAndDeriv::funcAndDeriv ( const funcAndDeriv other)
inline

Member Function Documentation

◆ getVariables()

auto& PLMD::switchContainers::leptonSwitch::funcAndDeriv::getVariables ( ) const
inline

◆ getVariables_derivative()

auto& PLMD::switchContainers::leptonSwitch::funcAndDeriv::getVariables_derivative ( ) const
inline

◆ operator()()

std::pair<double,double> PLMD::switchContainers::leptonSwitch::funcAndDeriv::operator() ( double const  x) const
inline

◆ operator=()

funcAndDeriv& PLMD::switchContainers::leptonSwitch::funcAndDeriv::operator= ( const funcAndDeriv other)
inline

Member Data Documentation

◆ deriv

lepton::CompiledExpression PLMD::switchContainers::leptonSwitch::funcAndDeriv::deriv
private

◆ expression

lepton::CompiledExpression PLMD::switchContainers::leptonSwitch::funcAndDeriv::expression
private

◆ varDevRef

double* PLMD::switchContainers::leptonSwitch::funcAndDeriv::varDevRef =nullptr
private

◆ varRef

double* PLMD::switchContainers::leptonSwitch::funcAndDeriv::varRef =nullptr
private

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