Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TF1Parameters Class Reference

Definition at line 54 of file TF1.h.

Public Member Functions

 TF1Parameters ()
 TF1Parameters (const TF1Parameters &rhs)
 TF1Parameters (Int_t npar)
virtual ~TF1Parameters ()
Double_t GetParameter (const char *name) const
Double_t GetParameter (Int_t iparam) const
const Double_tGetParameters () const
const char * GetParName (Int_t iparam) const
Int_t GetParNumber (const char *name) const
virtual TClassIsA () const
TF1Parametersoperator= (const TF1Parameters &rhs)
const std::vector< double > & ParamsVec () const
void SetParameter (const char *name, Double_t value)
void SetParameter (Int_t iparam, Double_t value)
void SetParameters (const Double_t *params)
template<typename... Args>
void SetParameters (Double_t arg1, Args &&... args)
 Set parameter values.
void SetParName (Int_t iparam, const char *name)
template<typename... Args>
void SetParNames (Args &&... args)
 Set parameter names.
virtual void Streamer (TBuffer &)
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()

Private Member Functions

bool CheckIndex (Int_t i) const

Private Attributes

std::vector< Double_tfParameters
std::vector< std::string > fParNames

#include <TF1.h>

Constructor & Destructor Documentation

◆ TF1Parameters() [1/3]

TF1Parameters::TF1Parameters ( )
inline

Definition at line 56 of file TF1.h.

◆ TF1Parameters() [2/3]

TF1Parameters::TF1Parameters ( Int_t npar)
inline

Definition at line 57 of file TF1.h.

◆ TF1Parameters() [3/3]

TF1Parameters::TF1Parameters ( const TF1Parameters & rhs)
inline

Definition at line 66 of file TF1.h.

◆ ~TF1Parameters()

virtual TF1Parameters::~TF1Parameters ( )
inlinevirtual

Definition at line 78 of file TF1.h.

Member Function Documentation

◆ CheckIndex()

bool TF1Parameters::CheckIndex ( Int_t i) const
inlineprivate

Definition at line 134 of file TF1.h.

◆ Class()

TClass * TF1Parameters::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

const char * TF1Parameters::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

constexpr Version_t TF1Parameters::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 131 of file TF1.h.

◆ DeclFileName()

const char * TF1Parameters::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 131 of file TF1.h.

◆ GetParameter() [1/2]

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

Definition at line 85 of file TF1.h.

◆ GetParameter() [2/2]

Double_t TF1Parameters::GetParameter ( Int_t iparam) const
inline

Definition at line 81 of file TF1.h.

◆ GetParameters()

const Double_t * TF1Parameters::GetParameters ( ) const
inline

Definition at line 89 of file TF1.h.

◆ GetParName()

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

Definition at line 100 of file TF1.h.

◆ GetParNumber()

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

◆ IsA()

virtual TClass * TF1Parameters::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 131 of file TF1.h.

◆ operator=()

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

Definition at line 71 of file TF1.h.

◆ ParamsVec()

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

Definition at line 93 of file TF1.h.

◆ SetParameter() [1/2]

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

Definition at line 119 of file TF1.h.

◆ SetParameter() [2/2]

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

Definition at line 107 of file TF1.h.

◆ SetParameters() [1/2]

void TF1Parameters::SetParameters ( const Double_t * params)
inline

Definition at line 112 of file TF1.h.

◆ SetParameters() [2/2]

template<typename... Args>
void TF1Parameters::SetParameters ( Double_t arg1,
Args &&... args )

Set parameter values.

NaN values will be skipped, meaning that the corresponding parameters will not be changed.

Definition at line 146 of file TF1.h.

◆ SetParName()

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

Definition at line 123 of file TF1.h.

◆ SetParNames()

template<typename... Args>
void TF1Parameters::SetParNames ( Args &&... args)

Set parameter names.

Empty strings will be skipped, meaning that the corresponding name will not be changed.

Definition at line 157 of file TF1.h.

◆ Streamer()

virtual void TF1Parameters::Streamer ( TBuffer & )
virtual

◆ StreamerNVirtual()

void TF1Parameters::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inline

Definition at line 131 of file TF1.h.

Member Data Documentation

◆ fParameters

std::vector<Double_t> TF1Parameters::fParameters
private

Definition at line 139 of file TF1.h.

◆ fParNames

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

Definition at line 140 of file TF1.h.


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