class daFunk::FunkBase

[No description available]

Inherits from boost::enable_shared_from_this< FunkBase >

Inherited by daFunk::Bottle, daFunk::FunkConst, daFunk::FunkDelta, daFunk::FunkDerived, daFunk::FunkFunc< threadsafe, funcargs >, daFunk::FunkFuncM< threadsafe, O, funcargs >, daFunk::FunkIfElse, daFunk::FunkIntegrate_gsl1d, daFunk::FunkInterp, daFunk::FunkMath_umin, daFunk::FunkPlain, daFunk::FunkVar, daFunk::ThrowError

Public Functions

Name
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< FunkBound >
bind(Args… args)
const std::vector< std::string > &getArgs()
std::size_tgetNArgs()
boolhasArg(std::string arg)
boolhasArgs()
Funkhelp()
template <typename… Args>
bool
assert_args(Args… args)
virtual doublevalue(const std::vector< double > & , size_t bindID) =0
virtual voidresolve(std::map< std::string, size_t > datamap, size_t & datalen, size_t bindID, std::map< std::string, size_t > & argmap)
SingularitiesgetSingl()
Funkset_singularity(std::string arg, double pos, double width)
Funkprint(std::string arg)
template <typename… Args>
shared_ptr< FunkIntegrate_gsl1d >
gsl_integration(Args… args)
PlainPtrs1plain(std::string arg1)
PlainPtrs2plain(std::string arg1, std::string arg2)
PlainPtrs3plain(std::string arg1, std::string arg2, std::string arg3)
PlainPtrs4plain(std::string arg1, std::string arg2, std::string arg3, std::string arg4)
template <typename T >
PlainPtr1
plain(std::string arg1)
template <typename T >
PlainPtr2
plain(std::string arg1, std::string arg2)
template <typename T >
PlainPtr3
plain(std::string arg1, std::string arg2, std::string arg3)
template <typename T >
PlainPtr4
plain(std::string arg1, std::string arg2, std::string arg3, std::string arg4)
Funkset()

Protected Attributes

Name
std::vector< Funk >functions
ArgsTypearguments
std::vector< std::vector< size_t > >indices
size_tdatalen
Singularitiessingularities

Public Functions Documentation

function FunkBase

inline FunkBase()

function ~FunkBase

inline virtual ~FunkBase()

function set

template <typename... Args>
inline Funk set(
    std::string arg,
    Funk g,
    Args... args
)

function set

template <typename... Args>
inline Funk set(
    std::string arg,
    double x,
    Args... args
)

function set

template <typename... Args>
inline Funk set(
    std::string arg,
    std::string arg1,
    Args... args
)

function set

template <typename... Args>
Funk set()

function bind

template <typename... Args>
inline shared_ptr< FunkBound > bind(
    Args... args
)

function getArgs

inline const std::vector< std::string > & getArgs()

function getNArgs

inline std::size_t getNArgs()

function hasArg

inline bool hasArg(
    std::string arg
)

function hasArgs

inline bool hasArgs()

function help

inline Funk help()

function assert_args

template <typename... Args>
inline bool assert_args(
    Args... args
)

function value

virtual double value(
    const std::vector< double > & ,
    size_t bindID
) =0

Reimplemented by: daFunk::FunkPlain::value, daFunk::FunkConst::value, daFunk::FunkDerived::value, daFunk::FunkFunc::value, daFunk::FunkFuncM::value, daFunk::FunkDelta::value, daFunk::FunkVar::value, daFunk::FunkMath_umin::value, daFunk::FunkInterp::value, daFunk::FunkIfElse::value, daFunk::ThrowError::value, daFunk::Bottle::value, daFunk::FunkIntegrate_gsl1d::value

function resolve

inline virtual void resolve(
    std::map< std::string, size_t > datamap,
    size_t & datalen,
    size_t bindID,
    std::map< std::string, size_t > & argmap
)

Reimplemented by: daFunk::FunkDerived::resolve, daFunk::FunkIntegrate_gsl1d::resolve

function getSingl

inline Singularities getSingl()

function set_singularity

inline Funk set_singularity(
    std::string arg,
    double pos,
    double width
)

function print

inline Funk print(
    std::string arg
)

function gsl_integration

template <typename... Args>
inline shared_ptr< FunkIntegrate_gsl1d > gsl_integration(
    Args... args
)

function plain

inline PlainPtrs1 plain(
    std::string arg1
)

function plain

inline PlainPtrs2 plain(
    std::string arg1,
    std::string arg2
)

function plain

inline PlainPtrs3 plain(
    std::string arg1,
    std::string arg2,
    std::string arg3
)

function plain

inline PlainPtrs4 plain(
    std::string arg1,
    std::string arg2,
    std::string arg3,
    std::string arg4
)

function plain

template <typename T >
inline PlainPtr1 plain(
    std::string arg1
)

function plain

template <typename T >
inline PlainPtr2 plain(
    std::string arg1,
    std::string arg2
)

function plain

template <typename T >
inline PlainPtr3 plain(
    std::string arg1,
    std::string arg2,
    std::string arg3
)

function plain

template <typename T >
inline PlainPtr4 plain(
    std::string arg1,
    std::string arg2,
    std::string arg3,
    std::string arg4
)

function set

inline Funk set()

Protected Attributes Documentation

variable functions

std::vector< Funk > functions;

variable arguments

ArgsType arguments;

variable indices

std::vector< std::vector< size_t > > indices;

variable datalen

size_t datalen;

variable singularities

Singularities singularities;

Updated on 2024-07-18 at 13:53:32 +0000