![]() |
The Gaudi Framework
v26r3
|
#include <GaudiMath/Adapters.h>


Public Types | |
| typedef double(* | Function1) (const double) |
| typedef double(* | Function2) (const double *) |
| typedef double(* | Function3) (const std::vector< double > &) |
| typedef double(* | Function1) (const double) |
| typedef double(* | Function2) (const double *) |
| typedef double(* | Function3) (const std::vector< double > &) |
Public Member Functions | |
| SimpleFunction (Function1 func) | |
| From CLHEP/GenericFunctions. More... | |
| SimpleFunction (Function2 func, const size_t dim) | |
| constructor from the simple function with array-like argument More... | |
| SimpleFunction (Function3 func, const size_t dim) | |
| constructor from the simple function with vector argument More... | |
| SimpleFunction (const SimpleFunction &) | |
| copy constructor More... | |
| virtual | ~SimpleFunction () |
| destructor More... | |
| virtual unsigned int | dimensionality () const |
| dimensionality of the problem More... | |
| virtual bool | hasAnalyticDerivative () const |
| Does this function have an analytic derivative? More... | |
| virtual double | operator() (double) const |
| Function value. More... | |
| virtual double | operator() (const Argument &) const |
| Function value. More... | |
| virtual Genfun::Derivative | partial (unsigned int i) const |
| Derivatives. More... | |
| SimpleFunction (Function1 func) | |
| From CLHEP/GenericFunctions. More... | |
| SimpleFunction (Function2 func, const size_t dim) | |
| constructor from the simple function with array-like argument More... | |
| SimpleFunction (Function3 func, const size_t dim) | |
| constructor from the simple function with vector argument More... | |
| SimpleFunction (const SimpleFunction &) | |
| copy constructor More... | |
| virtual | ~SimpleFunction () |
| virtual unsigned int | dimensionality () const |
| dimensionality of the problem More... | |
| virtual bool | hasAnalyticDerivative () const |
| Does this function have an analytic derivative? More... | |
| virtual double | operator() (double) const |
| Function value. More... | |
| virtual double | operator() (const Argument &) const |
| Function value. More... | |
| virtual Genfun::Derivative | partial (unsigned int i) const |
| Derivatives. More... | |
Protected Types | |
| enum | Case { TrivialArg, ArrayArg, VectorArg, TrivialArg, ArrayArg, VectorArg } |
| enum | Case { TrivialArg, ArrayArg, VectorArg, TrivialArg, ArrayArg, VectorArg } |
Private Member Functions | |
| SimpleFunction () | |
| SimpleFunction & | operator= (const SimpleFunction &) |
| SimpleFunction () | |
| SimpleFunction & | operator= (const SimpleFunction &) |
Private Attributes | |
| Case | m_case |
| size_t | m_DIM |
| Function1 | m_func1 |
| Function2 | m_func2 |
| double * | m_arg2 |
| Function3 | m_func3 |
| std::vector< double > | m_arg3 |
Definition at line 202 of file FunAdapters.h.
| typedef double(* Genfun::GaudiMathImplementation::SimpleFunction::Function1) (const double) |
Definition at line 205 of file FunAdapters.h.
| typedef double(* Genfun::GaudiMathImplementation::SimpleFunction::Function1) (const double) |
Definition at line 205 of file FunAdapters.h.
| typedef double(* Genfun::GaudiMathImplementation::SimpleFunction::Function2) (const double *) |
Definition at line 206 of file FunAdapters.h.
| typedef double(* Genfun::GaudiMathImplementation::SimpleFunction::Function2) (const double *) |
Definition at line 206 of file FunAdapters.h.
| typedef double(* Genfun::GaudiMathImplementation::SimpleFunction::Function3) (const std::vector< double > &) |
Definition at line 207 of file FunAdapters.h.
| typedef double(* Genfun::GaudiMathImplementation::SimpleFunction::Function3) (const std::vector< double > &) |
Definition at line 207 of file FunAdapters.h.
|
protected |
| Enumerator | |
|---|---|
| TrivialArg | |
| ArrayArg | |
| VectorArg | |
| TrivialArg | |
| ArrayArg | |
| VectorArg | |
Definition at line 209 of file FunAdapters.h.
|
protected |
| Enumerator | |
|---|---|
| TrivialArg | |
| ArrayArg | |
| VectorArg | |
| TrivialArg | |
| ArrayArg | |
| VectorArg | |
Definition at line 209 of file FunAdapters.h.
| Genfun::GaudiMathImplementation::SimpleFunction::SimpleFunction | ( | SimpleFunction::Function1 | func | ) |
From CLHEP/GenericFunctions.
from CLHGEP/GenericFunctions
constructor from the trivial function
| func | pointer to trivial function |
Definition at line 156 of file Adapter.cpp.
| Genfun::GaudiMathImplementation::SimpleFunction::SimpleFunction | ( | SimpleFunction::Function2 | func, |
| const size_t | dim | ||
| ) |
constructor from the simple function with array-like argument
| func | pointer to trivial function |
| dim | dimension of the argument |
Definition at line 175 of file Adapter.cpp.
| Genfun::GaudiMathImplementation::SimpleFunction::SimpleFunction | ( | SimpleFunction::Function3 | func, |
| const size_t | dim | ||
| ) |
constructor from the simple function with vector argument
constructor from the simple function with array-like argument
| func | pointer to trivial function |
| dim | dimension of the argument |
Definition at line 197 of file Adapter.cpp.
| Genfun::GaudiMathImplementation::SimpleFunction::SimpleFunction | ( | const SimpleFunction & | right | ) |
copy constructor
Definition at line 214 of file Adapter.cpp.
|
virtual |
|
private |
| Genfun::GaudiMathImplementation::SimpleFunction::SimpleFunction | ( | Function1 | func | ) |
From CLHEP/GenericFunctions.
constructor from the trivial function
| func | pointer to trivial function |
| Genfun::GaudiMathImplementation::SimpleFunction::SimpleFunction | ( | Function2 | func, |
| const size_t | dim | ||
| ) |
constructor from the simple function with array-like argument
| func | pointer to trivial function |
| dim | dimension of the argument |
| Genfun::GaudiMathImplementation::SimpleFunction::SimpleFunction | ( | Function3 | func, |
| const size_t | dim | ||
| ) |
constructor from the simple function with vector argument
| func | pointer to trivial function |
| dim | dimension of the argument |
| Genfun::GaudiMathImplementation::SimpleFunction::SimpleFunction | ( | const SimpleFunction & | ) |
copy constructor
|
virtual |
|
private |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Does this function have an analytic derivative?
Definition at line 245 of file FunAdapters.h.
|
inlinevirtual |
Does this function have an analytic derivative?
Definition at line 245 of file FunAdapters.h.
|
virtual |
Function value.
|
virtual |
Function value.
Definition at line 255 of file Adapter.cpp.
|
virtual |
Function value.
Definition at line 280 of file Adapter.cpp.
|
virtual |
Function value.
|
private |
|
private |
|
virtual |
Derivatives.
|
virtual |
Derivatives.
Definition at line 241 of file Adapter.cpp.
|
private |
Definition at line 268 of file FunAdapters.h.
|
mutableprivate |
Definition at line 271 of file FunAdapters.h.
|
private |
Definition at line 262 of file FunAdapters.h.
|
private |
Definition at line 263 of file FunAdapters.h.
|
private |
Definition at line 265 of file FunAdapters.h.
|
private |
Definition at line 267 of file FunAdapters.h.
|
private |
Definition at line 270 of file FunAdapters.h.