Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 convenience, 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)
 
virtual unsigned int NPar () const =0
 Return the number of Parameters.
 
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, ...")
 
virtual const doubleParameters () const =0
 Access the parameter values.
 
virtual void SetParameters (const double *p)=0
 Set the parameter values.
 

#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: