Logo ROOT  
Reference Guide
ROOT::Math::IBaseParam Class Referenceabstract

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 48 of file IParamFunction.h.

Public Member Functions

virtual ~IBaseParam ()
 Virtual Destructor (no operations) 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...
 
virtual const double * Parameters () const =0
 Access the parameter values. More...
 
virtual void SetParameters (const double *p)=0
 Set the parameter values. More...
 

#include <Math/IParamFunction.h>

Inheritance diagram for ROOT::Math::IBaseParam:
[legend]

Constructor & Destructor Documentation

◆ ~IBaseParam()

virtual ROOT::Math::IBaseParam::~IBaseParam ( )
inlinevirtual

Virtual Destructor (no operations)

Definition at line 56 of file IParamFunction.h.

Member Function Documentation

◆ NPar()

◆ ParameterName()

virtual std::string ROOT::Math::IBaseParam::ParameterName ( unsigned int  i) const
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 ROOT::Math::WrappedMultiTF1Templ< T >, ROOT::Math::WrappedTF1, ROOT::Math::VavilovAccurateCdf, ROOT::Math::VavilovAccuratePdf, and ROOT::Math::VavilovAccurateQuantile.

Definition at line 83 of file IParamFunction.h.

◆ Parameters()

◆ SetParameters()

virtual void ROOT::Math::IBaseParam::SetParameters ( const double *  p)
pure virtual

The documentation for this class was generated from the following file: