This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
#include <IModelFunction.h>
Inheritance diagram for AIDA::IModelFunction::
Public Methods | |
virtual | ~IModelFunction () |
Destructor. More... | |
virtual bool | providesNormalization () const=0 |
Return false if function does not provide the normalization capability. More... | |
virtual void | normalize (bool on)=0 |
virtual bool | isNormalized () const=0 |
virtual const std::vector< double>& | parameterGradient (const std::vector< double > &x) const=0 |
virtual bool | providesParameterGradient () const=0 |
virtual IRangeSet& | normalizationRange (int iAxis)=0 |
virtual void | includeNormalizationAll ()=0 |
virtual void | excludeNormalizationAll ()=0 |
OPEN QUESTIONS:
How to treat normalization at user level? Two possibilities:
Definition at line 43 of file IModelFunction.h.
|
Definition at line 47 of file IModelFunction.h. |
|
Set empty range in all axes. |
|
Set full range in all axes. |
|
Return true if normalization is currently switched on. |
|
Set the normalization range from -inf to +inf in the i-th axis (dimension). Full range is the default if not set otherwise. It is still possible to evaluate function outside of the normalization range. PENDING: no methods to retrieve current range! |
|
Normalize by internally adjusting some of the parameters. When normalization is on then integral of the function in the normalization range equals to 1. |
|
Compute gradient with respect to parameters. |
|
|
|
Return true if provides parameter gradient. |