namespace daFunk

[No description available]

Namespaces

Name
daFunk::detail

Classes

Name
classdaFunk::Bottle
classdaFunk::FunkBase
classdaFunk::FunkBound
classdaFunk::FunkConst
classdaFunk::FunkDelta
classdaFunk::FunkDerived
classdaFunk::FunkFunc
classdaFunk::FunkFuncM
classdaFunk::FunkIfElse
classdaFunk::FunkIntegrate_gsl1d
classdaFunk::FunkInterp
classdaFunk::FunkMath_umin
classdaFunk::FunkPlain
classdaFunk::FunkVar
structdaFunk::index_list
classdaFunk::livingVector
classdaFunk::ThrowError

Types

Name
typedef shared_ptr< FunkBase >Funk
typedef shared_ptr< FunkBound >BoundFunk
typedef std::vector< std::string >ArgsType
typedef std::map< std::string, std::vector< std::pair< Funk, Funk > > >Singularities
typedef double(*)(double &)PlainPtr1
typedef double(*)(double &, double &)PlainPtr2
typedef double(*)(double &, double &, double &)PlainPtr3
typedef double(*)(double &, double &, double &, double &)PlainPtr4
typedef std::pair< double(*)(double, void *), void * >PlainPtrs1
typedef std::pair< double(*)(double, double, void *), void * >PlainPtrs2
typedef std::pair< double(*)(double, double, double, void *), void * >PlainPtrs3
typedef std::pair< double(*)(double, double, double, double, void *), void * >PlainPtrs4

Functions

Name
template <typename T >
std::vector< T >
vec(std::vector< T > vector)
template <typename T ,typename… Args>
std::vector< T >
vec(std::vector< T > vector, T value, Args… args)
template <typename T ,typename… Args>
std::vector< T >
vec(T value, Args… args)
template <typename T >
std::vector< T >
vec()
std::vector< double >linspace(double x0, double x1, unsigned int n)
std::vector< double >logspace(double x0, double x1, unsigned int n)
boolargs_match(ArgsType args1, ArgsType args2)
std::stringargs_string(ArgsType args)
ArgsTypejoinArgs(ArgsType args1, ArgsType args2)
ArgsTypeeraseArg(ArgsType args, std::string arg)
SingularitiesjoinSingl(Singularities s1, Singularities s2)
template <typename… Args>
Funk
one(Args… argss)
template <typename… Args>
Funk
zero(Args… argss)
template <typename… Args>
Funk
cnst(double x, Args… argss)
template <typename… funcargs,typename… Args>
Funk
func(double(*)(funcargs…) f, Args… args)
template <typename… funcargs,typename… Args>
Funk
func_fromThreadsafe(double(*)(funcargs…) f, Args… args)
template <typename O ,typename… funcargs,typename… Args>
Funk
funcM(O * obj, double(O::*)(funcargs…) f, Args… args)
template <typename O ,typename… funcargs,typename… Args>
Funk
funcM(shared_ptr< O > obj, double(O::*)(funcargs…) f, Args… args)
template <typename O ,typename… funcargs,typename… Args>
Funk
funcM_fromThreadsafe(O * obj, double(O::*)(funcargs…) f, Args… args)
template <typename O ,typename… funcargs,typename… Args>
Funk
funcM_fromThreadsafe(shared_ptr< O > obj, double(O::*)(funcargs…) f, Args… args)
Funkdelta(std::string arg, double pos, double width)
Funkvar(std::string arg)
Funkoperator-(Funk f)
template <typename T >
shared_ptr< FunkInterp >
interp(T f, std::vector< double > x, std::vector< double > y)
Funkifelse(Funk f, Funk g, Funk h)
Funkifelse(Funk f, double g, Funk h)
Funkifelse(Funk f, double g, double h)
Funkifelse(Funk f, Funk g, double h)
FunkthrowError(std::string msg)
template <typename T1 ,typename T2 >
shared_ptr< FunkIntegrate_gsl1d >
getIntegrate_gsl1d(Funk fptr, std::string arg, T1 x1, T2 x2)
std::vector< double >augmentSingl(const std::vector< double > & xgrid, Funk f, int N =100, double sigma =3)

Types Documentation

typedef Funk

typedef shared_ptr<FunkBase> daFunk::Funk;

typedef BoundFunk

typedef shared_ptr<FunkBound> daFunk::BoundFunk;

typedef ArgsType

typedef std::vector<std::string> daFunk::ArgsType;

typedef Singularities

typedef std::map<std::string, std::vector<std::pair<Funk, Funk> > > daFunk::Singularities;

typedef PlainPtr1

typedef double(* daFunk::PlainPtr1) (double &);

typedef PlainPtr2

typedef double(* daFunk::PlainPtr2) (double &, double &);

typedef PlainPtr3

typedef double(* daFunk::PlainPtr3) (double &, double &, double &);

typedef PlainPtr4

typedef double(* daFunk::PlainPtr4) (double &, double &, double &, double &);

typedef PlainPtrs1

typedef std::pair<double(*)(double,void*), void*> daFunk::PlainPtrs1;

typedef PlainPtrs2

typedef std::pair<double(*)(double,double,void*), void*> daFunk::PlainPtrs2;

typedef PlainPtrs3

typedef std::pair<double(*)(double,double,double,void*), void*> daFunk::PlainPtrs3;

typedef PlainPtrs4

typedef std::pair<double(*)(double,double,double,double,void*), void*> daFunk::PlainPtrs4;

Functions Documentation

function vec

template <typename T >
inline std::vector< T > vec(
    std::vector< T > vector
)

function vec

template <typename T ,
typename... Args>
inline std::vector< T > vec(
    std::vector< T > vector,
    T value,
    Args... args
)

function vec

template <typename T ,
typename... Args>
inline std::vector< T > vec(
    T value,
    Args... args
)

function vec

template <typename T >
inline std::vector< T > vec()

function linspace

inline std::vector< double > linspace(
    double x0,
    double x1,
    unsigned int n
)

function logspace

inline std::vector< double > logspace(
    double x0,
    double x1,
    unsigned int n
)

function args_match

inline bool args_match(
    ArgsType args1,
    ArgsType args2
)

function args_string

inline std::string args_string(
    ArgsType args
)

function joinArgs

inline ArgsType joinArgs(
    ArgsType args1,
    ArgsType args2
)

function eraseArg

inline ArgsType eraseArg(
    ArgsType args,
    std::string arg
)

function joinSingl

inline Singularities joinSingl(
    Singularities s1,
    Singularities s2
)

function one

template <typename... Args>
inline Funk one(
    Args... argss
)

function zero

template <typename... Args>
inline Funk zero(
    Args... argss
)

function cnst

template <typename... Args>
inline Funk cnst(
    double x,
    Args... argss
)

function func

template <typename... funcargs,
typename... Args>
Funk func(
    double(*)(funcargs...) f,
    Args... args
)

function func_fromThreadsafe

template <typename... funcargs,
typename... Args>
Funk func_fromThreadsafe(
    double(*)(funcargs...) f,
    Args... args
)

function funcM

template <typename O ,
typename... funcargs,
typename... Args>
Funk funcM(
    O * obj,
    double(O::*)(funcargs...) f,
    Args... args
)

function funcM

template <typename O ,
typename... funcargs,
typename... Args>
Funk funcM(
    shared_ptr< O > obj,
    double(O::*)(funcargs...) f,
    Args... args
)

function funcM_fromThreadsafe

template <typename O ,
typename... funcargs,
typename... Args>
Funk funcM_fromThreadsafe(
    O * obj,
    double(O::*)(funcargs...) f,
    Args... args
)

function funcM_fromThreadsafe

template <typename O ,
typename... funcargs,
typename... Args>
Funk funcM_fromThreadsafe(
    shared_ptr< O > obj,
    double(O::*)(funcargs...) f,
    Args... args
)

function delta

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

function var

inline Funk var(
    std::string arg
)

function operator-

inline Funk operator-(
    Funk f
)

function interp

template <typename T >
inline shared_ptr< FunkInterp > interp(
    T f,
    std::vector< double > x,
    std::vector< double > y
)

function ifelse

inline Funk ifelse(
    Funk f,
    Funk g,
    Funk h
)

function ifelse

inline Funk ifelse(
    Funk f,
    double g,
    Funk h
)

function ifelse

inline Funk ifelse(
    Funk f,
    double g,
    double h
)

function ifelse

inline Funk ifelse(
    Funk f,
    Funk g,
    double h
)

function throwError

inline Funk throwError(
    std::string msg
)

function getIntegrate_gsl1d

template <typename T1 ,
typename T2 >
inline shared_ptr< FunkIntegrate_gsl1d > getIntegrate_gsl1d(
    Funk fptr,
    std::string arg,
    T1 x1,
    T2 x2
)

function augmentSingl

inline std::vector< double > augmentSingl(
    const std::vector< double > & xgrid,
    Funk f,
    int N =100,
    double sigma =3
)

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