ComPWA
Common Partial-Wave-Analysis Framework
|
Interface template for a general Function of the form OutputType Function(InputTypes) The concept closely follows the mathematical definition of a function/mapping. More...
#include <Function.hpp>
Public Member Functions | |
virtual | ~Function ()=default |
virtual OutputType | evaluate (const InputTypes &... args) noexcept=0 |
virtual void | updateParametersFrom (const std::vector< double > &)=0 |
It is important to input the vector in the same length and order as defined in the getParameters() method. More... | |
virtual std::vector< Parameter > | getParameters () const =0 |
Interface template for a general Function of the form OutputType Function(InputTypes) The concept closely follows the mathematical definition of a function/mapping.
The parameters are stated by the Function and can be retrieved via getParameters(). The only difference to a mathematical function is that the evaluation and the setting of the parameters are separated. Parameter have to be altered with updateParametersFrom().
Definition at line 24 of file Function.hpp.
|
virtualdefault |
|
pure virtualnoexcept |
|
pure virtual |
|
pure virtual |
It is important to input the vector in the same length and order as defined in the getParameters() method.
So in other words, call getParameters() first, then use this ordering and to input new values in this method.
Implemented in ComPWA::Estimator::MinLogLH, ComPWA::Physics::EvtGen::EvtGenIF, ComPWA::Estimator::SumMinLogLH, ComPWA::FunctionTree::FunctionTreeIntensity, and ComPWA::FunctionTree::FunctionTreeEstimator.