constructor from the trivial function with two argument
More...
#include <GaudiMath/Adapters.h>
|
| typedef double(* | Function )(const double, const double) |
| | the actual type of the function "to be adapted"
|
| |
constructor from the trivial function with two argument
double func(
const double ,
const double ) ;
Argument arg(2) ;
arg[0] = 1 ;
arg[1] = 2 ;
double value = fun( arg ) ;
- Parameters
-
| func | pointer to trivial function |
- Author
- Kirill Miklyaev kiril.nosp@m.lm@i.nosp@m.ris1..nosp@m.itep.nosp@m..ru
-
Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@i.nosp@m.tep..nosp@m.ru
- Date
- 2003-08-03
Definition at line 91 of file FunAdapters.h.
| typedef double(* Genfun::GaudiMathImplementation::Adapter2DoubleFunction::Function)(const double, const double) |
the actual type of the function "to be adapted"
Definition at line 95 of file FunAdapters.h.
mandatory macro from CLHEP/GenericFunctions
constructor
Definition at line 64 of file Adapter.cpp.
| Genfun::GaudiMathImplementation::Adapter2DoubleFunction::Adapter2DoubleFunction |
( |
const Adapter2DoubleFunction & |
right | ) |
|
| Genfun::GaudiMathImplementation::Adapter2DoubleFunction::~Adapter2DoubleFunction |
( |
| ) |
|
|
virtual |
| Genfun::GaudiMathImplementation::Adapter2DoubleFunction::Adapter2DoubleFunction |
( |
| ) |
|
|
private |
| virtual unsigned int Genfun::GaudiMathImplementation::Adapter2DoubleFunction::dimensionality |
( |
| ) |
const |
|
inlinevirtual |
| virtual bool Genfun::GaudiMathImplementation::Adapter2DoubleFunction::hasAnalyticDerivative |
( |
| ) |
const |
|
inlinevirtual |
Does this function have an analytic derivative?
Definition at line 114 of file FunAdapters.h.
| double Genfun::GaudiMathImplementation::Adapter2DoubleFunction::operator() |
( |
double |
x | ) |
const |
|
virtual |
| virtual double Genfun::GaudiMathImplementation::Adapter2DoubleFunction::operator() |
( |
const Argument & |
x | ) |
const |
|
virtual |
| double Genfun::GaudiMathImplementation::Adapter2DoubleFunction::operator() |
( |
const double |
x, |
|
|
const double |
y |
|
) |
| const |
| Genfun::Derivative Genfun::GaudiMathImplementation::Adapter2DoubleFunction::partial |
( |
unsigned int |
i | ) |
const |
|
virtual |
Derivatives.
Definition at line 91 of file Adapter.cpp.
{
{
return Genfun::FunctionNoop( &aux ) ;
};
return Genfun::FunctionNoop ( &aux ) ;
}
| Function Genfun::GaudiMathImplementation::Adapter2DoubleFunction::m_func |
|
private |
The documentation for this class was generated from the following files:
- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r2/GaudiGSL/GaudiMath/FunAdapters.h
- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r2/GaudiGSL/src/Lib/Adapter.cpp