library: libMathMore
#include "ParamFunction.h"

ROOT::Math::ParamFunction


class description - header file
viewCVS header

class ROOT::Math::ParamFunction: public ROOT::Math::IParametricGradFunction<ROOT::Math::OneDim>

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~ParamFunction()
const vector<double>&GetParGradient(double x)
virtual unsigned intNPar() const
ROOT::Math::ParamFunction&operator=(const ROOT::Math::ParamFunction&)
virtual const double*Parameters() const
boolProvidesParameterGradient() const
virtual voidSetParameters(const double* p)

Data Members

protected:
vector<double>fParams
vector<double>fParGradient
private:
unsigned intfNpar
boolfProvGrad
boolfProvParGrad

Class Description

virtual ~ParamFunction()
 destructor
{}
const double * Parameters()
{ return &fParams.front(); }
void SetParameters(const double * p)
fParams = std::vector<double>(p,p+fNpar);
unsigned int NPar()
{ return fNpar; }
bool ProvidesParameterGradient()
{ return fProvParGrad; }
const std::vector<double> & GetParGradient( double x)

Last update: Wed Dec 6 18:58:03 2006


ROOT page - Class index - Class Hierarchy - Top of the page

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.