Genfun::GaudiMathImplementation::AdapterIFunction Class Reference
constructor from the IFunction ( see AIDA/IFunction.h)
More...
#include <GaudiMath/Adapters.h>
List of all members.
Detailed Description
constructor from the IFunction ( see AIDA/IFunction.h)
- See also:
- AIDA::IFunction
- Author:
- Kirill Miklyaev kirillm@iris1.itep.ru
- Date:
- 2003-08-03
Definition at line 31 of file FunAdapters.h.
Constructor & Destructor Documentation
| Genfun::GaudiMathImplementation::AdapterIFunction::AdapterIFunction |
( |
const AIDA::IFunction & |
fun |
) |
|
mandatory macro from CLHEP/GenericFunctions
constructor from AIDA::Function
- Parameters:
-
Definition at line 20 of file Adapter.cpp.
00021 : AbsFunction ( )
00022 , m_fun ( &fun )
00023 , m_dim ( fun.dimension() )
00024 , m_arg ( fun.dimension() , 0 )
00025 {}
| Genfun::GaudiMathImplementation::AdapterIFunction::AdapterIFunction |
( |
const AdapterIFunction & |
right |
) |
|
| Genfun::GaudiMathImplementation::AdapterIFunction::~AdapterIFunction |
( |
|
) |
[virtual] |
| Genfun::GaudiMathImplementation::AdapterIFunction::AdapterIFunction |
( |
|
) |
[private] |
Member Function Documentation
| virtual unsigned int Genfun::GaudiMathImplementation::AdapterIFunction::dimensionality |
( |
|
) |
const [inline, virtual] |
| virtual bool Genfun::GaudiMathImplementation::AdapterIFunction::hasAnalyticDerivative |
( |
|
) |
const [inline, virtual] |
Does this function have an analytic derivative?
Definition at line 53 of file FunAdapters.h.
| virtual double Genfun::GaudiMathImplementation::AdapterIFunction::operator() |
( |
const Argument & |
x |
) |
const [virtual] |
| double Genfun::GaudiMathImplementation::AdapterIFunction::operator() |
( |
double |
a |
) |
const [virtual] |
| Genfun::Derivative Genfun::GaudiMathImplementation::AdapterIFunction::partial |
( |
unsigned int |
i |
) |
const [virtual] |
Derivatives.
Definition at line 49 of file Adapter.cpp.
00050 {
00051 if ( i >= m_dim )
00052 {
00053 const AbsFunction& aux = GaudiMath::Constant( 0 , m_dim ) ;
00054 return Genfun::FunctionNoop( &aux ) ;
00055 };
00056 const AbsFunction& aux = GaudiMath::Derivative( *this , i ) ;
00057 return Genfun::FunctionNoop ( &aux ) ;
00058 }
Member Data Documentation
The documentation for this class was generated from the following files:
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r0/GaudiGSL/GaudiMath/FunAdapters.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r0/GaudiGSL/src/Lib/Adapter.cpp