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

#include <daFunk.hpp>

Inheritance diagram for daFunk::FunkVar:
Collaboration diagram for daFunk::FunkVar:

Public Member Functions

 FunkVar (std::string arg)
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)
Funk set ()

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 908 of file daFunk.hpp.

Constructor & Destructor Documentation

◆ FunkVar()

daFunk::FunkVar::FunkVar ( std::string  arg)

Definition at line 911 of file daFunk.hpp.

References daFunk::vec().

912  {
913  arguments = vec(arg);
914  }
ArgsType arguments
Definition: daFunk.hpp:369
std::vector< T > vec(std::vector< T > vector)
Definition: daFunk.hpp:142
Here is the call graph for this function:

Member Function Documentation

◆ value()

double daFunk::FunkVar::value ( const std::vector< double > &  data,
size_t  bindID 

Implements daFunk::FunkBase.

Definition at line 916 of file daFunk.hpp.

917  {
918  return data[indices[bindID][0]];
919  }
std::vector< std::vector< size_t > > indices
Definition: daFunk.hpp:370

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