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


Author: L. Moneta Tue Nov 14 14:20:07 2006
Last change: root/mathcore:$Id: IParamFunction.h 24482 2008-06-23 15:33:08Z moneta $
Last generated: 2008-06-25 08:29
Copyright (c) 2006 LCG ROOT Math Team, CERN/PH-SFT *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.