ROOT » MATH » MATHCORE » ROOT::Math::IBaseParam

class ROOT::Math::IBaseParam


    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.

    @ingroup  ParamFunc

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~IBaseParam()
ROOT::Math::IBaseParamIBaseParam()
ROOT::Math::IBaseParamIBaseParam(const ROOT::Math::IBaseParam&)
virtual unsigned intNPar() const
ROOT::Math::IBaseParam&operator=(const ROOT::Math::IBaseParam&)
virtual stringParameterName(unsigned int i) const
virtual const double*Parameters() const
virtual voidSetParameters(const double* p)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

virtual ~IBaseParam()
      Virtual Destructor (no operations)

{}
const double * Parameters() const
      Access the parameter values

void SetParameters(const double* p)
      Set the parameter values
      @param p vector of doubles containing the parameter values.

      to be defined:  can user change number of params ? At the moment no.


unsigned int NPar() const
      Return the number of Parameters

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, ...")