namespace daFunk
[No description available]
Namespaces
Name |
---|
daFunk::detail |
Classes
Name | |
---|---|
class | daFunk::Bottle |
class | daFunk::FunkBase |
class | daFunk::FunkBound |
class | daFunk::FunkConst |
class | daFunk::FunkDelta |
class | daFunk::FunkDerived |
class | daFunk::FunkFunc |
class | daFunk::FunkFuncM |
class | daFunk::FunkIfElse |
class | daFunk::FunkIntegrate_gsl1d |
class | daFunk::FunkInterp |
class | daFunk::FunkMath_umin |
class | daFunk::FunkPlain |
class | daFunk::FunkVar |
struct | daFunk::index_list |
class | daFunk::livingVector |
class | daFunk::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) |
bool | args_match(ArgsType args1, ArgsType args2) |
std::string | args_string(ArgsType args) |
ArgsType | joinArgs(ArgsType args1, ArgsType args2) |
ArgsType | eraseArg(ArgsType args, std::string arg) |
Singularities | joinSingl(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) |
Funk | delta(std::string arg, double pos, double width) |
Funk | var(std::string arg) |
Funk | operator-(Funk f) |
template <typename T > shared_ptr< FunkInterp > | interp(T f, std::vector< double > x, std::vector< double > y) |
Funk | ifelse(Funk f, Funk g, Funk h) |
Funk | ifelse(Funk f, double g, Funk h) |
Funk | ifelse(Funk f, double g, double h) |
Funk | ifelse(Funk f, Funk g, double h) |
Funk | throwError(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