ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | List of all members
TF1Parameters Class Reference

TF1 Parameters class.

Definition at line 56 of file TF1.h.

Public Member Functions

 TF1Parameters ()
 
 TF1Parameters (Int_t npar)
 
 TF1Parameters (const TF1Parameters &rhs)
 
TF1Parametersoperator= (const TF1Parameters &rhs)
 
virtual ~TF1Parameters ()
 
Double_t GetParameter (Int_t iparam) const
 
Double_t GetParameter (const char *name) const
 
const Double_tGetParameters () const
 
const std::vector< double > & ParamsVec () const
 
Int_t GetParNumber (const char *name) const
 Returns the parameter number given a name not very efficient but list of parameters is typically small could use a map if needed. More...
 
const char * GetParName (Int_t iparam) const
 
void SetParameter (Int_t iparam, Double_t value)
 
void SetParameters (const Double_t *params)
 
void SetParameters (Double_t p0, Double_t p1, Double_t p2=0, Double_t p3=0, Double_t p4=0, Double_t p5=0, Double_t p6=0, Double_t p7=0, Double_t p8=0, Double_t p9=0, Double_t p10=0)
 Set parameter values. More...
 
void SetParameter (const char *name, Double_t value)
 
void SetParName (Int_t iparam, const char *name)
 
void SetParNames (const char *name0="p0", const char *name1="p1", const char *name2="p2", const char *name3="p3", const char *name4="p4", const char *name5="p5", const char *name6="p6", const char *name7="p7", const char *name8="p8", const char *name9="p9", const char *name10="p10")
 Set parameter names. More...
 

Public Attributes

ClassDef(TF1Parameters,
1) private std::vector
< Double_t
fParameters
 
std::vector< std::string > fParNames
 

#include <TF1.h>

Constructor & Destructor Documentation

TF1Parameters::TF1Parameters ( )
inline

Definition at line 58 of file TF1.h.

TF1Parameters::TF1Parameters ( Int_t  npar)
inline

Definition at line 59 of file TF1.h.

TF1Parameters::TF1Parameters ( const TF1Parameters rhs)
inline

Definition at line 68 of file TF1.h.

virtual TF1Parameters::~TF1Parameters ( )
inlinevirtual

Definition at line 79 of file TF1.h.

Member Function Documentation

Double_t TF1Parameters::GetParameter ( Int_t  iparam) const
inline

Definition at line 82 of file TF1.h.

Referenced by GetParameter(), and TF1::GetParameter().

Double_t TF1Parameters::GetParameter ( const char *  name) const
inline

Definition at line 85 of file TF1.h.

const Double_t* TF1Parameters::GetParameters ( ) const
inline

Definition at line 88 of file TF1.h.

Referenced by TF1::EvalPar(), and TF1::GetParameters().

const char* TF1Parameters::GetParName ( Int_t  iparam) const
inline

Definition at line 95 of file TF1.h.

Referenced by TF1::GetParName().

Int_t TF1Parameters::GetParNumber ( const char *  name) const

Returns the parameter number given a name not very efficient but list of parameters is typically small could use a map if needed.

Definition at line 3529 of file TF1.cxx.

Referenced by GetParameter(), TF1::GetParNumber(), and SetParameter().

TF1Parameters& TF1Parameters::operator= ( const TF1Parameters rhs)
inline

Definition at line 73 of file TF1.h.

const std::vector<double>& TF1Parameters::ParamsVec ( ) const
inline

Definition at line 91 of file TF1.h.

Referenced by TF1::GetParameters().

void TF1Parameters::SetParameter ( Int_t  iparam,
Double_t  value 
)
inline

Definition at line 101 of file TF1.h.

Referenced by SetParameter(), and TF1::SetParameter().

void TF1Parameters::SetParameter ( const char *  name,
Double_t  value 
)
inline

Definition at line 112 of file TF1.h.

void TF1Parameters::SetParameters ( const Double_t params)
inline

Definition at line 105 of file TF1.h.

Referenced by TF1::SetParameters().

void TF1Parameters::SetParameters ( Double_t  p0,
Double_t  p1,
Double_t  p2 = 0,
Double_t  p3 = 0,
Double_t  p4 = 0,
Double_t  p5 = 0,
Double_t  p6 = 0,
Double_t  p7 = 0,
Double_t  p8 = 0,
Double_t  p9 = 0,
Double_t  p10 = 0 
)

Set parameter values.

Definition at line 3540 of file TF1.cxx.

void TF1Parameters::SetParName ( Int_t  iparam,
const char *  name 
)
inline

Definition at line 115 of file TF1.h.

Referenced by TF1::SetParName().

void TF1Parameters::SetParNames ( const char *  name0 = "p0",
const char *  name1 = "p1",
const char *  name2 = "p2",
const char *  name3 = "p3",
const char *  name4 = "p4",
const char *  name5 = "p5",
const char *  name6 = "p6",
const char *  name7 = "p7",
const char *  name8 = "p8",
const char *  name9 = "p9",
const char *  name10 = "p10" 
)

Set parameter names.

Definition at line 3561 of file TF1.cxx.

Referenced by TF1::SetParNames().

Member Data Documentation

ClassDef (TF1Parameters,1) private std::vector<Double_t> TF1Parameters::fParameters

Definition at line 126 of file TF1.h.

Referenced by GetParameter(), GetParameters(), operator=(), ParamsVec(), SetParameter(), and SetParameters().

std::vector<std::string> TF1Parameters::fParNames

Definition at line 134 of file TF1.h.

Referenced by GetParName(), GetParNumber(), operator=(), SetParName(), SetParNames(), and TF1Parameters().

Collaboration diagram for TF1Parameters:
[legend]

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