ROOT
6.07/01
Reference Guide
|
Documentation for the abstract class IBaseParam.
It defines the interface for dealing with the function parameters This is used only for internal convinience, to avoid redefining the Parameter API for the one and the multi-dim functions. Concrete class should derive from ROOT::Math::IParamFunction and not from this class.
Definition at line 54 of file IParamFunction.h.
Public Member Functions | |
virtual | ~IBaseParam () |
Virtual Destructor (no operations) More... | |
virtual const double * | Parameters () const =0 |
Access the parameter values. More... | |
virtual void | SetParameters (const double *p)=0 |
Set the parameter values. More... | |
virtual unsigned int | NPar () const =0 |
Return the number of Parameters. More... | |
virtual std::string | ParameterName (unsigned int i) const |
Return the name of the i-th parameter (starting from zero) Overwrite if want to avoid the default name ("Par_0, Par_1, ...") More... | |
#include <Math/IParamFunction.h>
|
inlinevirtual |
Virtual Destructor (no operations)
Definition at line 62 of file IParamFunction.h.
|
pure virtual |
Return the number of Parameters.
Implemented in ROOT::Math::MultiDimParamGradFunctionAdapter, ROOT::Math::WrappedParamFunctionGen< FuncPtr >, ROOT::Math::MultiDimParamFunctionAdapter, ROOT::Math::ParamFunction< IParamGradFunction >, ROOT::Math::WrappedParamFunction< FuncPtr >, ROOT::Math::VavilovAccurateCdf, ROOT::Math::VavilovAccurateQuantile, ROOT::Math::WrappedMultiTF1, ROOT::Math::VavilovAccuratePdf, WrapperRooPdf, ROOT::Math::WrappedTF1, GaussFunction, and GaussFunction.
Referenced by ROOT::Fit::FitConfig::CreateParamsSettings(), ROOT::Fit::FitUtil::EvaluateChi2(), ROOT::Fit::FitUtil::EvaluateChi2Effective(), ROOT::Fit::FitUtil::EvaluateChi2Gradient(), ROOT::Fit::FitUtil::EvaluateChi2Residual(), ROOT::Fit::FitUtil::EvaluateLogL(), ROOT::Fit::FitUtil::EvaluateLogLGradient(), ROOT::Fit::FitUtil::EvaluatePdf(), ROOT::Fit::FitUtil::EvaluatePoissonBinPdf(), ROOT::Fit::FitUtil::EvaluatePoissonLogL(), ROOT::Fit::FitUtil::EvaluatePoissonLogLGradient(), ROOT::Math::MultiDimParamFunctionAdapter::NPar(), ROOT::Math::MultiDimParamGradFunctionAdapter::NPar(), ROOT::Math::IParametricGradFunctionMultiDim::ParameterGradient(), ROOT::Math::IParametricGradFunctionOneDim::ParameterGradient(), and ParameterName().
|
inlinevirtual |
Return the name of the i-th parameter (starting from zero) Overwrite if want to avoid the default name ("Par_0, Par_1, ...")
Reimplemented in WrapperRooPdf, ROOT::Math::VavilovAccurateCdf, ROOT::Math::WrappedMultiTF1, ROOT::Math::VavilovAccurateQuantile, ROOT::Math::VavilovAccuratePdf, and ROOT::Math::WrappedTF1.
Definition at line 89 of file IParamFunction.h.
Referenced by ROOT::Fit::FitConfig::CreateParamsSettings().
|
pure virtual |
Access the parameter values.
Implemented in ROOT::Math::MultiDimParamGradFunctionAdapter, ROOT::Math::WrappedParamFunctionGen< FuncPtr >, ROOT::Math::MultiDimParamFunctionAdapter, WrapperRooPdf, ROOT::Math::WrappedParamFunction< FuncPtr >, ROOT::Math::ParamFunction< IParamGradFunction >, ROOT::Math::VavilovAccurateCdf, ROOT::Math::VavilovAccurateQuantile, ROOT::Math::WrappedMultiTF1, ROOT::Math::VavilovAccuratePdf, ROOT::Math::WrappedTF1, GaussFunction, and GaussFunction.
Referenced by ROOT::Fit::FitConfig::CreateParamsSettings(), DoBinFit(), ROOT::Math::IParametricFunctionMultiDim::DoEval(), ROOT::Math::IParametricFunctionOneDim::DoEval(), ROOT::Math::IParametricGradFunctionMultiDim::ParameterDerivative(), ROOT::Math::IParametricGradFunctionOneDim::ParameterDerivative(), ROOT::Math::IParametricGradFunctionMultiDim::ParameterGradient(), ROOT::Math::IParametricGradFunctionOneDim::ParameterGradient(), ROOT::Math::MultiDimParamFunctionAdapter::Parameters(), ROOT::Math::MultiDimParamGradFunctionAdapter::Parameters(), and testUnBin1DFit().
Set the parameter values.
p | vector of doubles containing the parameter values. |
to be defined: can user change number of params ? At the moment no.
Implemented in ROOT::Math::MultiDimParamGradFunctionAdapter, ROOT::Math::WrappedParamFunctionGen< FuncPtr >, WrapperRooPdf, ROOT::Math::MultiDimParamFunctionAdapter, ROOT::Math::ParamFunction< IParamGradFunction >, ROOT::Math::WrappedParamFunction< FuncPtr >, ROOT::Math::VavilovAccurateCdf, ROOT::Math::VavilovAccurateQuantile, ROOT::Math::WrappedMultiTF1, ROOT::Math::VavilovAccuratePdf, ROOT::Math::WrappedTF1, GaussFunction, and GaussFunction.
Referenced by FitUsingNewFitter(), ROOT::Math::MultiDimParamFunctionAdapter::SetParameters(), ROOT::Math::MultiDimParamGradFunctionAdapter::SetParameters(), testGraphFit(), testHisto1DFit(), and testUnBin1DFit().