#include <GaudiMath/Adapters.h>
- Author
- Ivan BELYAEV
- Date
- 2003-08-31
Definition at line 202 of file FunAdapters.h.
| typedef double(* Genfun::GaudiMathImplementation::SimpleFunction::Function1)(const double) |
| typedef double(* Genfun::GaudiMathImplementation::SimpleFunction::Function2)(const double *) |
| typedef double(* Genfun::GaudiMathImplementation::SimpleFunction::Function3)(const std::vector< double > &) |
- Enumerator:
| TrivialArg |
|
| ArrayArg |
|
| VectorArg |
|
Definition at line 209 of file FunAdapters.h.
From CLHEP/GenericFunctions.
from CLHGEP/GenericFunctions
constructor from the trivial function
- Parameters
-
| func | pointer to trivial function |
Definition at line 156 of file Adapter.cpp.
constructor from the simple function with array-like argument
- Parameters
-
| func | pointer to trivial function |
| dim | dimension of the argument |
Definition at line 175 of file Adapter.cpp.
constructor from the simple function with vector argument
constructor from the simple function with array-like argument
- Parameters
-
| 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 | ) |
|
| Genfun::GaudiMathImplementation::SimpleFunction::~SimpleFunction |
( |
| ) |
|
|
virtual |
| Genfun::GaudiMathImplementation::SimpleFunction::SimpleFunction |
( |
| ) |
|
|
private |
| virtual unsigned int Genfun::GaudiMathImplementation::SimpleFunction::dimensionality |
( |
| ) |
const |
|
inlinevirtual |
| virtual bool Genfun::GaudiMathImplementation::SimpleFunction::hasAnalyticDerivative |
( |
| ) |
const |
|
inlinevirtual |
Does this function have an analytic derivative?
Definition at line 245 of file FunAdapters.h.
| double Genfun::GaudiMathImplementation::SimpleFunction::operator() |
( |
double |
value | ) |
const |
|
virtual |
Function value.
Definition at line 255 of file Adapter.cpp.
{
double result = 0 ;
{
result = (*m_func1) ( value ) ; break ;
result = (*m_func2) (
m_arg2 ) ; break ;
result = (*m_func3) (
m_arg3 ) ; break ;
default:
break ;
};
return result ;
}
| double Genfun::GaudiMathImplementation::SimpleFunction::operator() |
( |
const Argument & |
argument | ) |
const |
|
virtual |
Function value.
Definition at line 280 of file Adapter.cpp.
{
double result = 0 ;
{
result = (*m_func1) ( argument[0] ) ; break ;
result = (*m_func3) (
m_arg3 ) ; break ;
default:
break ;
}
return result ;
}
| Genfun::Derivative Genfun::GaudiMathImplementation::SimpleFunction::partial |
( |
unsigned int |
i | ) |
const |
|
virtual |
Derivatives.
Definition at line 241 of file Adapter.cpp.
{
{
return Genfun::FunctionNoop( &aux ) ;
}
return Genfun::FunctionNoop( &aux );
}
| double* Genfun::GaudiMathImplementation::SimpleFunction::m_arg2 |
|
private |
| std::vector<double> Genfun::GaudiMathImplementation::SimpleFunction::m_arg3 |
|
mutableprivate |
| Case Genfun::GaudiMathImplementation::SimpleFunction::m_case |
|
private |
| size_t Genfun::GaudiMathImplementation::SimpleFunction::m_DIM |
|
private |
| Function1 Genfun::GaudiMathImplementation::SimpleFunction::m_func1 |
|
private |
| Function2 Genfun::GaudiMathImplementation::SimpleFunction::m_func2 |
|
private |
| Function3 Genfun::GaudiMathImplementation::SimpleFunction::m_func3 |
|
private |
The documentation for this class was generated from the following files:
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r6/GaudiGSL/GaudiMath/FunAdapters.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r6/GaudiGSL/src/Lib/Adapter.cpp