gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
daFunk::FunkConst Class Reference

#include <daFunk.hpp>

Inheritance diagram for daFunk::FunkConst:
Collaboration diagram for daFunk::FunkConst:

Public Member Functions

template<typename... Args>
 FunkConst (double c, Args ...argss)
 
 FunkConst (double c)
 
double value (const std::vector< double > &data, size_t bindID)
 
- Public Member Functions inherited from daFunk::FunkBase
 FunkBase ()
 
virtual ~FunkBase ()
 
template<typename... Args>
Funk set (std::string arg, Funk g, Args... args)
 
template<typename... Args>
Funk set (std::string arg, double x, Args... args)
 
template<typename... Args>
Funk set (std::string arg, std::string arg1, Args... args)
 
template<typename... Args>
Funk set ()
 
template<typename... Args>
shared_ptr< FunkBoundbind (Args... args)
 
const std::vector< std::string > & getArgs ()
 
std::size_t getNArgs ()
 
bool hasArg (std::string)
 
bool hasArgs ()
 
Funk help ()
 
template<typename... Args>
bool assert_args (Args... args)
 
virtual void resolve (std::map< std::string, size_t > datamap, size_t &datalen, size_t bindID, std::map< std::string, size_t > &argmap)
 
Singularities getSingl ()
 
Funk set_singularity (std::string arg, double pos, double width)
 
Funk print (std::string arg)
 
template<typename... Args>
shared_ptr< FunkIntegrate_gsl1dgsl_integration (Args... args)
 
PlainPtrs1 plain (std::string)
 
PlainPtrs2 plain (std::string, std::string)
 
PlainPtrs3 plain (std::string, std::string, std::string)
 
PlainPtrs4 plain (std::string, std::string, std::string, std::string)
 
template<typename T >
PlainPtr1 plain (std::string)
 
template<typename T >
PlainPtr2 plain (std::string, std::string)
 
template<typename T >
PlainPtr3 plain (std::string, std::string, std::string)
 
template<typename T >
PlainPtr4 plain (std::string, std::string, std::string, std::string)
 
template<>
Funk set ()
 

Private Attributes

double c
 

Additional Inherited Members

- Protected Attributes inherited from daFunk::FunkBase
std::vector< Funkfunctions
 
ArgsType arguments
 
std::vector< std::vector< size_t > > indices
 
size_t datalen
 
Singularities singularities
 

Detailed Description

Definition at line 584 of file daFunk.hpp.

Constructor & Destructor Documentation

◆ FunkConst() [1/2]

template<typename... Args>
daFunk::FunkConst::FunkConst ( double  c,
Args ...  argss 
)
inline

Definition at line 588 of file daFunk.hpp.

588 : c(c) { arguments = vec<std::string>(argss...); }
ArgsType arguments
Definition: daFunk.hpp:369

◆ FunkConst() [2/2]

daFunk::FunkConst::FunkConst ( double  c)
inline

Definition at line 589 of file daFunk.hpp.

589 : c(c) { arguments.resize(0); }
ArgsType arguments
Definition: daFunk.hpp:369

Member Function Documentation

◆ value()

double daFunk::FunkConst::value ( const std::vector< double > &  data,
size_t  bindID 
)
inlinevirtual

Implements daFunk::FunkBase.

Definition at line 591 of file daFunk.hpp.

References void.

592  {
593  (void)data;
594  (void)bindID;
595  return c;
596  }
hb_ModelParameters void

Member Data Documentation

◆ c

double daFunk::FunkConst::c
private

Definition at line 599 of file daFunk.hpp.


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