#include <TFormula.h>
Inheritance diagram for TFormula:
Public Types | |
enum | |
enum | |
Public Member Functions | |
TFormula () | |
TFormula (const char *name, const char *formula) | |
TFormula (const TFormula &formula) | |
TFormula & | operator= (const TFormula &rhs) |
virtual | ~TFormula () |
void | Optimize () |
virtual void | Analyze (const char *schain, Int_t &err, Int_t offset=0) |
virtual Bool_t | AnalyzeFunction (TString &chaine, Int_t &err, Int_t offset=0) |
virtual Int_t | Compile (const char *expression="") |
virtual void | Copy (TObject &formula) const |
virtual void | Clear (Option_t *option="") |
virtual char * | DefinedString (Int_t code) |
virtual Double_t | DefinedValue (Int_t code) |
virtual Int_t | DefinedVariable (TString &variable, Int_t &action) |
virtual Double_t | Eval (Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const |
virtual Double_t | EvalParOld (const Double_t *x, const Double_t *params=0) |
virtual Double_t | EvalPar (const Double_t *x, const Double_t *params=0) |
virtual const TObject * | GetLinearPart (Int_t i) |
virtual Int_t | GetNdim () const |
virtual Int_t | GetNpar () const |
virtual Int_t | GetNumber () const |
virtual TString | GetExpFormula (Option_t *option="") const |
Double_t | GetParameter (Int_t ipar) const |
Double_t | GetParameter (const char *name) const |
virtual Double_t * | GetParameters () const |
virtual void | GetParameters (Double_t *params) |
virtual const char * | GetParName (Int_t ipar) const |
virtual Int_t | GetParNumber (const char *name) const |
virtual Bool_t | IsLinear () |
virtual Bool_t | IsNormalized () |
virtual void | Print (Option_t *option="") const |
virtual void | ProcessLinear (TString &replaceformula) |
virtual void | SetNumber (Int_t number) |
virtual void | SetParameter (const char *name, Double_t parvalue) |
virtual void | SetParameter (Int_t ipar, Double_t parvalue) |
virtual void | SetParameters (const Double_t *params) |
virtual 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) |
virtual void | SetParName (Int_t ipar, const char *name) |
virtual 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") |
virtual void | Update () |
TFormula () | |
TFormula (const char *name, const char *formula) | |
TFormula (const TFormula &formula) | |
TFormula & | operator= (const TFormula &rhs) |
virtual | ~TFormula () |
void | Optimize () |
virtual void | Analyze (const char *schain, Int_t &err, Int_t offset=0) |
virtual Bool_t | AnalyzeFunction (TString &chaine, Int_t &err, Int_t offset=0) |
virtual Int_t | Compile (const char *expression="") |
virtual void | Copy (TObject &formula) const |
virtual void | Clear (Option_t *option="") |
virtual char * | DefinedString (Int_t code) |
virtual Double_t | DefinedValue (Int_t code) |
virtual Int_t | DefinedVariable (TString &variable, Int_t &action) |
virtual Double_t | Eval (Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const |
virtual Double_t | EvalParOld (const Double_t *x, const Double_t *params=0) |
virtual Double_t | EvalPar (const Double_t *x, const Double_t *params=0) |
virtual const TObject * | GetLinearPart (Int_t i) |
virtual Int_t | GetNdim () const |
virtual Int_t | GetNpar () const |
virtual Int_t | GetNumber () const |
virtual TString | GetExpFormula (Option_t *option="") const |
Double_t | GetParameter (Int_t ipar) const |
Double_t | GetParameter (const char *name) const |
virtual Double_t * | GetParameters () const |
virtual void | GetParameters (Double_t *params) |
virtual const char * | GetParName (Int_t ipar) const |
virtual Int_t | GetParNumber (const char *name) const |
virtual Bool_t | IsLinear () |
virtual Bool_t | IsNormalized () |
virtual void | Print (Option_t *option="") const |
virtual void | ProcessLinear (TString &replaceformula) |
virtual void | SetNumber (Int_t number) |
virtual void | SetParameter (const char *name, Double_t parvalue) |
virtual void | SetParameter (Int_t ipar, Double_t parvalue) |
virtual void | SetParameters (const Double_t *params) |
virtual 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) |
virtual void | SetParName (Int_t ipar, const char *name) |
virtual 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") |
virtual void | Update () |
Static Public Member Functions | |
static void | SetMaxima (Int_t maxop=1000, Int_t maxpar=1000, Int_t maxconst =1000) |
static void | SetMaxima (Int_t maxop=1000, Int_t maxpar=1000, Int_t maxconst =1000) |
Protected Types | |
enum | |
enum | |
typedef Double_t(TObject::*) | TFuncG (const Double_t *, const Double_t *) const |
typedef Double_t(TObject::*) | TFuncG (const Double_t *, const Double_t *) const |
Protected Member Functions | |
Int_t | PreCompile () |
pointer to optimal function | |
virtual Bool_t | CheckOperands (Int_t operation, Int_t &err) |
virtual Bool_t | CheckOperands (Int_t leftoperand, Int_t rightoperartion, Int_t &err) |
virtual Bool_t | StringToNumber (Int_t code) |
void | MakePrimitive (const char *expr, Int_t pos) |
Int_t * | GetOper () const |
Short_t | GetAction (Int_t code) const |
Int_t | GetActionParam (Int_t code) const |
void | SetAction (Int_t code, Int_t value, Int_t param=0) |
Int_t * | GetOperOptimized () const |
Short_t | GetActionOptimized (Int_t code) const |
Int_t | GetActionParamOptimized (Int_t code) const |
void | SetActionOptimized (Int_t code, Int_t value, Int_t param=0) |
void | ClearFormula (Option_t *option="") |
virtual Bool_t | IsString (Int_t oper) const |
virtual void | Convert (UInt_t fromVersion) |
Double_t | EvalParFast (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive0 (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive1 (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive2 (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive3 (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive4 (const Double_t *x, const Double_t *params) |
Int_t | PreCompile () |
pointer to optimal function | |
virtual Bool_t | CheckOperands (Int_t operation, Int_t &err) |
virtual Bool_t | CheckOperands (Int_t leftoperand, Int_t rightoperartion, Int_t &err) |
virtual Bool_t | StringToNumber (Int_t code) |
void | MakePrimitive (const char *expr, Int_t pos) |
Int_t * | GetOper () const |
Short_t | GetAction (Int_t code) const |
Int_t | GetActionParam (Int_t code) const |
void | SetAction (Int_t code, Int_t value, Int_t param=0) |
Int_t * | GetOperOptimized () const |
Short_t | GetActionOptimized (Int_t code) const |
Int_t | GetActionParamOptimized (Int_t code) const |
void | SetActionOptimized (Int_t code, Int_t value, Int_t param=0) |
void | ClearFormula (Option_t *option="") |
virtual Bool_t | IsString (Int_t oper) const |
virtual void | Convert (UInt_t fromVersion) |
Double_t | EvalParFast (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive0 (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive1 (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive2 (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive3 (const Double_t *x, const Double_t *params) |
Double_t | EvalPrimitive4 (const Double_t *x, const Double_t *params) |
Protected Attributes | |
Int_t | fNdim |
Int_t | fNpar |
Int_t | fNoper |
Int_t | fNconst |
Int_t | fNumber |
Int_t | fNval |
Int_t | fNstring |
TString * | fExpr |
Double_t * | fConst |
Double_t * | fParams |
TString * | fNames |
TObjArray | fFunctions |
TObjArray | fLinearParts |
TBits | fAlreadyFound |
Int_t | fNOperOptimized |
cache for information | |
TString * | fExprOptimized |
Number of operators after optimization. | |
Int_t * | fOperOptimized |
[fNOperOptimized] List of expressions | |
TOperOffset * | fOperOffset |
[fNOperOptimized] List of operators. (See documentation for changes made at version 7) | |
TFormulaPrimitive ** | fPredefined |
[fNOperOptimized] Offsets of operrands | |
TFuncG | fOptimal |
[fNPar] predefined function | |
TString * | fExpr |
Double_t * | fConst |
Double_t * | fParams |
TString * | fNames |
TString * | fExprOptimized |
Number of operators after optimization. | |
Int_t * | fOperOptimized |
[fNOperOptimized] List of expressions | |
TOperOffset * | fOperOffset |
[fNOperOptimized] List of operators. (See documentation for changes made at version 7) | |
TFormulaPrimitive ** | fPredefined |
[fNOperOptimized] Offsets of operrands | |
Private Attributes | |
Int_t * | fOper |
Int_t * | fOper |
Definition at line 65 of file TFormula.h.
typedef Double_t(TObject::*) TFormula::TFuncG(const Double_t *, const Double_t *) const [protected] |
Definition at line 69 of file TFormula.h.
typedef Double_t(TObject::*) TFormula::TFuncG(const Double_t *, const Double_t *) const [protected] |
Definition at line 69 of file TFormula.h.
anonymous enum [protected] |
Definition at line 135 of file TFormula.h.
anonymous enum |
Definition at line 211 of file TFormula.h.
anonymous enum [protected] |
Definition at line 135 of file TFormula.h.
anonymous enum |
Definition at line 211 of file TFormula.h.
TFormula::TFormula | ( | ) |
Referenced by ProcessLinear().
TFormula::TFormula | ( | const char * | name, | |
const char * | formula | |||
) |
Definition at line 155 of file TFormula.cxx.
References TCollection::Add(), Compile(), TObject::Error(), EvalParOld(), fConst, fExpr, fExprOptimized, TCollection::FindObject(), fNames, fNconst, fNdim, fNoper, fNOperOptimized, fNpar, fNstring, fNumber, fNval, fOper, fOperOffset, fOperOptimized, fOptimal, fParams, fPredefined, TROOT::GetListOfFunctions(), gROOT, i, j, kFALSE, kLinear, kNormalized, kTRUE, TCollection::Remove(), TObject::SetBit(), and TNamed::SetTitle().
TFormula::TFormula | ( | const TFormula & | formula | ) |
Definition at line 248 of file TFormula.cxx.
References fConst, fExpr, fExprOptimized, fNames, fNconst, fNdim, fNoper, fNOperOptimized, fNpar, fNstring, fNumber, fNval, fOper, fOperOffset, fOperOptimized, fParams, and fPredefined.
TFormula::~TFormula | ( | ) | [virtual] |
Definition at line 285 of file TFormula.cxx.
References ClearFormula(), TROOT::GetListOfFunctions(), gROOT, and TCollection::Remove().
TFormula::TFormula | ( | ) |
TFormula::TFormula | ( | const char * | name, | |
const char * | formula | |||
) |
TFormula::TFormula | ( | const TFormula & | formula | ) |
virtual TFormula::~TFormula | ( | ) | [virtual] |
Int_t TFormula::PreCompile | ( | ) | [protected] |
pointer to optimal function
Definition at line 4400 of file TFormula.cxx.
References TString::Data(), TObject::Error(), fclose(), TFormulaPrimitive::FindFormula(), TNamed::fName, fopen, TString::Form(), fprintf(), TNamed::fTitle, and str.
Definition at line 2130 of file TFormula.cxx.
References TObject::Error(), fExpr, IsString(), kFALSE, kTRUE, and StringToNumber().
Referenced by Analyze().
Bool_t TFormula::CheckOperands | ( | Int_t | leftoperand, | |
Int_t | rightoperartion, | |||
Int_t & | err | |||
) | [protected, virtual] |
Definition at line 2143 of file TFormula.cxx.
References TObject::Error(), fExpr, IsString(), kFALSE, kTRUE, and StringToNumber().
void TFormula::MakePrimitive | ( | const char * | expr, | |
Int_t | pos | |||
) | [protected] |
Definition at line 3650 of file TFormula.cxx.
References TString::Data(), TFormulaPrimitive::Eval(), fConst, TFormulaPrimitive::FindFormula(), TString::First(), fNconst, fPredefined, TFormulaPrimitive::fType, GetActionOptimized(), kConstant, kFD1, kFD2, kFD3, kFDM, kStringEqual, kStringNotEqual, TString::ReplaceAll(), and SetActionOptimized().
Referenced by Optimize().
Int_t* TFormula::GetOper | ( | ) | const [inline, protected] |
Definition at line 104 of file TFormula.h.
References fOper, and kTFOperShift.
Referenced by Analyze(), GetExpFormula(), TTreeFormula::Init(), IsString(), and Print().
Definition at line 105 of file TFormula.h.
References fOper, and kTFOperMask.
Referenced by Analyze(), GetExpFormula(), TTreeFormula::Init(), and Print().
Definition at line 107 of file TFormula.h.
References fOper, and kTFOperShift.
Referenced by Analyze(), AnalyzeFunction(), Convert(), and TTreeFormula::DefineAlternate().
Int_t* TFormula::GetOperOptimized | ( | ) | const [inline, protected] |
Definition at line 112 of file TFormula.h.
References fOperOptimized, and kTFOperShift.
Referenced by MakePrimitive(), Optimize(), and Print().
Definition at line 113 of file TFormula.h.
References fOperOptimized, and kTFOperMask.
Referenced by Optimize(), and Print().
Definition at line 115 of file TFormula.h.
References fOperOptimized, and kTFOperShift.
Referenced by MakePrimitive(), and Optimize().
void TFormula::ClearFormula | ( | Option_t * | option = "" |
) | [protected] |
Definition at line 2184 of file TFormula.cxx.
References TObjArray::Delete(), fConst, fExpr, fExprOptimized, fFunctions, fLinearParts, fNames, fNconst, fNdim, fNoper, fNpar, fNstring, fNumber, fNval, fOper, fOperOffset, fOperOptimized, fParams, and fPredefined.
Referenced by Clear(), Compile(), and ~TFormula().
Definition at line 3205 of file TFormula.cxx.
References GetAction(), and kStringConst.
Referenced by Analyze(), and CheckOperands().
void TFormula::Convert | ( | UInt_t | fromVersion | ) | [protected, virtual] |
Definition at line 3463 of file TFormula.cxx.
References TObject::Error(), fExpr, fOper, j, kBoolOptimize, kConstant, kDefinedString, kDefinedVariable, kexpo, kFunctionCall, kgaus, klandau, kParameter, kpol, kSignInv, kStringConst, kVariable, kxyexpo, kxygaus, kxylandau, R__ASSERT, and SetAction().
Definition at line 4095 of file TFormula.cxx.
References TMath::ACos(), TObjArray::At(), DefinedString(), DefinedValue(), TMath::Exp(), fConst, fExprOptimized, TFormulaPrimitive::fFunc10, TFormulaPrimitive::fFunc110, TFormulaPrimitive::fFunc1110, TFormulaPrimitive::fFuncG, fFunctions, fNOperOptimized, TOperOffset::fOffset0, fOperOffset, fOperOptimized, fParams, fPredefined, TOperOffset::fType0, gMAXSTRINGFOUND, gRandom, TMath::IsNaN(), IsNormalized(), j, kabs, kAdd, kAnd, kBinary, kBitAnd, kBitOr, kBoolOptimize, kBoolOptimizeAnd, kBoolOptimizeOr, kData, kDefinedString, kDefinedVariable, kDivide, kEqual, kFD1, kFD2, kFD3, kFDM, kfmod, kFunctionCall, kint, kJump, kJumpIf, kLeftShift, kMAXFOUND, kModulo, kMultD, kMultiply, kNot, kNotEqual, kOptimizationError, kOr, kpi, kPlusD, kpow, kRightShift, krndm, ksign, kSignInv, kStringConst, kStringEqual, kStringNotEqual, kstrstr, kSubstract, kTFOperMask, kTFOperShift, kThree, kUnary, kxexpo, kxgaus, kxlandau, kxpol, kxyexpo, kxygaus, kxylandau, kyexpo, kygaus, kylandau, kypol, kzexpo, kzgaus, kzlandau, kzpol, TMath::Landau(), TString::Length(), Long64_t, method, TMath::Power(), R__EXPO, R__GAUS, R__LANDAU, R__POLY, TString::Remove(), TRandom::Rndm(), TObject::SetBit(), TObject::TestBit(), and TObject::Warning().
Referenced by Optimize().
Definition at line 4019 of file TFormula.cxx.
References fConst, TOperOffset::fOffset0, TOperOffset::fOffset1, TOperOffset::fOffset2, fOperOffset, fOperOptimized, fParams, fPredefined, TOperOffset::fType0, TOperOffset::fType1, TOperOffset::fType2, kBinary, kData, kFDM, kTFOperShift, kThree, kUnary, and result().
Definition at line 4041 of file TFormula.cxx.
References fConst, TOperOffset::fOffset0, fOperOffset, fParams, and TOperOffset::fType0.
Referenced by Optimize().
Definition at line 4051 of file TFormula.cxx.
References fConst, TOperOffset::fOffset0, fOperOffset, fParams, fPredefined, and TOperOffset::fType0.
Referenced by Optimize().
Definition at line 4061 of file TFormula.cxx.
References fConst, TOperOffset::fOffset0, TOperOffset::fOffset1, fOperOffset, fParams, fPredefined, TOperOffset::fType0, and TOperOffset::fType1.
Referenced by Optimize().
Definition at line 4072 of file TFormula.cxx.
References fConst, TOperOffset::fOffset0, TOperOffset::fOffset1, TOperOffset::fOffset2, fOperOffset, fParams, fPredefined, TOperOffset::fType0, TOperOffset::fType1, and TOperOffset::fType2.
Referenced by Optimize().
Definition at line 4083 of file TFormula.cxx.
References TOperOffset::fOffset0, fOperOffset, fParams, fPredefined, TOperOffset::fType0, and par.
Referenced by Optimize().
void TFormula::Optimize | ( | ) |
Definition at line 3698 of file TFormula.cxx.
References EvalParFast(), EvalPrimitive0(), EvalPrimitive1(), EvalPrimitive2(), EvalPrimitive3(), EvalPrimitive4(), fConst, fExpr, fExprOptimized, TFormulaPrimitive::FindFormula(), fNOperOptimized, TFormulaPrimitive::fNParameters, TOperOffset::fOffset0, TOperOffset::fOffset1, TOperOffset::fOffset2, TOperOffset::fOldAction, fOper, fOperOffset, fOperOptimized, fOptimal, fPredefined, TOperOffset::fToJump, TOperOffset::fType0, TOperOffset::fType1, TOperOffset::fType2, GetActionOptimized(), GetActionParamOptimized(), int, kAdd, kBinary, kBoolOptimize, kBoolOptimizeAnd, kBoolOptimizeOr, kConstant, kData, kDivide, kFD1, kFD2, kFD3, kFDM, kJump, kJumpIf, kMultD, kMultiply, kParameter, kPlusD, kSubstract, kTFOperMask, kThree, kUnary, kVariable, MakePrimitive(), and SetActionOptimized().
Referenced by Compile(), and TMVA::MethodFDA::CreateFormula().
Definition at line 484 of file TFormula.cxx.
References AnalyzeFunction(), BIT, c, CheckOperands(), TString::Data(), DefinedVariable(), depth, TObject::Error(), fAlreadyFound, fConst, fExpr, TCollection::FindObject(), fNconst, fNdim, fNoper, fNpar, fNstring, fNval, fParams, GetAction(), GetActionParam(), GetExpFormula(), TROOT::GetListOfFunctions(), GetNpar(), GetParameter(), TNamed::GetTitle(), gMAXCONST, gMAXOP, gMAXPAR, gROOT, i, int, IsString(), j, k, kabs, kacos, kacosh, kAdd, kAnd, kasin, kasinh, katan, katan2, katanh, kBitAnd, kBitOr, kBoolOptimize, kConstant, kcos, kcosh, kDefinedString, kDivide, kEqual, kexp, kexpo, kFALSE, kfmod, kgaus, kGreater, kGreaterThan, kint, kJump, kJumpIf, klandau, kLeftShift, kLess, kLessThan, klog, klog10, kmax, kMAXFOUND, kmin, kModulo, kMultiply, kNot, kNotEqual, kOr, kParameter, kpi, kpol, kpow, kRightShift, krndm, ksign, kSignInv, ksin, ksinh, ksq, ksqrt, kStringConst, kStringEqual, kStringNotEqual, kstrstr, kSubstract, ktan, ktanh, kTRUE, TString::Length(), n, TString::ReplaceAll(), s, s1, s2, SetAction(), TObject::SetBit(), TBits::SetBitNumber(), SetNumber(), t, and TBits::TestBitNumber().
Referenced by AnalyzeFunction(), and Compile().
Definition at line 296 of file TFormula.cxx.
References TObjArray::Add(), Analyze(), TString::Data(), TObject::Error(), fExpr, fFunctions, TFormulaPrimitive::FindFormula(), TString::First(), TFormulaPrimitive::fNArguments, fNoper, fNpar, TFormulaPrimitive::fNParameters, TFormulaPrimitive::fType, ROOT::GetBaseClass(), TClass::GetClass(), TObjArray::GetLast(), TNamed::GetName(), i, j, kFALSE, kFD1, kFD2, kFD3, kFDM, kFunctionCall, TMethodCall::kOther, kTRUE, TString::Last(), TString::Length(), method, TString::Remove(), SetAction(), and TObjString::String().
Referenced by Analyze().
Int_t TFormula::Compile | ( | const char * | expression = "" |
) | [virtual] |
Definition at line 2219 of file TFormula.cxx.
References Analyze(), ClearFormula(), TString::Contains(), TString::Data(), fConst, fExpr, fNames, fNdim, fNpar, fOper, Form(), fParams, ROOT::GetBaseClass(), GetNumber(), TNamed::GetTitle(), gMAXCONST, gMAXOP, gMAXPAR, i, j, kLinear, TString::Length(), Optimize(), ProcessLinear(), SetNumber(), SetParName(), TNamed::SetTitle(), strlcpy(), and TObject::TestBit().
Referenced by TFitEditor::CheckFunctionString(), TMVA::MethodFDA::CreateFormula(), TF1::DrawF1(), TF2::DrawF2(), RooFormula::eval(), TTreeFormula::Init(), RooFormula::reCompile(), RooFormula::RooFormula(), and TFormula().
void TFormula::Copy | ( | TObject & | formula | ) | const [virtual] |
Reimplemented from TNamed.
Definition at line 2401 of file TFormula.cxx.
References TObject::Clone(), TNamed::Copy(), fConst, fExpr, fExprOptimized, fFunctions, fNames, fNconst, fNdim, fNoper, fNOperOptimized, fNpar, fNumber, fNval, fOper, fOperOffset, fOperOptimized, fOptimal, fParams, fPredefined, and i.
Referenced by TF1::Copy(), and operator=().
void TFormula::Clear | ( | Option_t * | option = "" |
) | [virtual] |
char * TFormula::DefinedString | ( | Int_t | code | ) | [virtual] |
Definition at line 2531 of file TFormula.cxx.
References TString::Data(), fNdim, and kVariable.
Referenced by Analyze().
Double_t TFormula::Eval | ( | Double_t | x, | |
Double_t | y = 0 , |
|||
Double_t | z = 0 , |
|||
Double_t | t = 0 | |||
) | const [virtual] |
Definition at line 2600 of file TFormula.cxx.
Referenced by RooFormula::DefinedVariable(), TMVA::TActivationTanh::Eval(), TMVA::TActivationRadial::Eval(), RooFormula::eval(), TMVA::TActivationSigmoid::Eval(), TMVA::TActivationRadial::EvalDerivative(), TMVA::TActivationSigmoid::EvalDerivative(), TMVA::TActivationTanh::EvalDerivative(), TLinearFitter::GetConfidenceIntervals(), TNeuron::GetDerivative(), TNeuron::GetValue(), and TMVA::MethodFDA::InterpretFormula().
Definition at line 2620 of file TFormula.cxx.
References TMath::Abs(), TMath::ACos(), TMath::ACosH(), TMath::ASin(), TMath::ASinH(), TObjArray::At(), TMath::ATan(), TMath::ATan2(), TMath::ATanH(), TMath::Cos(), TMath::CosH(), DefinedString(), DefinedValue(), TMath::Exp(), fConst, fExpr, fFunctions, fNoper, fNstring, fNval, fOper, fParams, gMAXSTRINGFOUND, gRandom, i, TMath::IsNaN(), IsNormalized(), j, kabs, kacos, kacosh, kAdd, kAnd, kasin, kasinh, katan, katan2, katanh, kBitAnd, kBitOr, kBoolOptimize, kConstant, kcos, kcosh, kDefinedString, kDefinedVariable, kDivide, kEqual, kexp, kFALSE, kfmod, kFunctionCall, kGreater, kGreaterThan, kint, kJump, kJumpIf, kLeftShift, kLess, kLessThan, klog, klog10, kmax, kMAXFOUND, kmin, kModulo, kMultiply, kNot, kNotEqual, kOptimizationError, kOr, kParameter, kpi, kpow, kRightShift, krndm, ksign, kSignInv, ksin, ksinh, ksq, ksqrt, kStringConst, kStringEqual, kStringNotEqual, kstrstr, kSubstract, ktan, ktanh, kTFOperMask, kTFOperShift, kTRUE, kVariable, kxexpo, kxgaus, kxlandau, kxpol, kxyexpo, kxygaus, kxylandau, kyexpo, kygaus, kylandau, kypol, kzexpo, kzgaus, kzlandau, kzpol, TMath::Landau(), TString::Length(), TMath::Log(), TMath::Log10(), Long64_t, TMath::Max(), method, TMath::Min(), params, TMath::Power(), R__EXPO, R__GAUS, R__LANDAU, R__POLY, TString::Remove(), TRandom::Rndm(), TObject::SetBit(), TMath::Sin(), TMath::SinH(), TMath::Sqrt(), TMath::Tan(), TMath::TanH(), TObject::TestBit(), and TObject::Warning().
Referenced by ClassImp(), and TFormula().
virtual Double_t TFormula::EvalPar | ( | const Double_t * | x, | |
const Double_t * | params = 0 | |||
) | [inline, virtual] |
Definition at line 235 of file TFormula.h.
References fOptimal, and params.
Referenced by TLinearFitter::Chisquare(), TLinearFitter::CStep(), RooFormula::eval(), TF1::EvalPar(), and TLinearFitter::GetConfidenceIntervals().
Definition at line 3147 of file TFormula.cxx.
References fLinearParts, TObjArray::IsEmpty(), and TObjArray::UncheckedAt().
Referenced by TLinearFitter::AddToDesign(), ROOT::Math::WrappedTF1::DoParameterDerivative(), ROOT::Math::WrappedMultiTF1::DoParameterDerivative(), ROOT::Math::WrappedMultiTF1::WrappedMultiTF1(), and ROOT::Math::WrappedTF1::WrappedTF1().
virtual Int_t TFormula::GetNdim | ( | ) | const [inline, virtual] |
Definition at line 237 of file TFormula.h.
References fNdim.
Referenced by TSpider::AddVariable(), HFit::CheckFitFunction(), TMVA::DataSetFactory::CheckTTreeFormula(), TProofDraw::CompileVariables(), TSelectorDraw::CompileVariables(), TTreeFormula::DefinedVariable(), TF1::Derivative(), TF1::Derivative2(), TF1::Derivative3(), HFit::Fit(), TBinomialEfficiencyFitter::Fit(), TChainIndex::GetEntryNumberFriend(), TTreeIndex::GetEntryNumberFriend(), TLinearFitter::HistLinearFitter(), TUnuranSampler::SetFunction(), TFoamSampler::SetFunction(), TSelectorEntries::SlaveBegin(), TLinearFitter::TLinearFitter(), TTreeIndex::TTreeIndex(), ROOT::Fit::UnBinFit(), and ROOT::Math::WrappedMultiTF1::WrappedMultiTF1().
virtual Int_t TFormula::GetNpar | ( | ) | const [inline, virtual] |
Definition at line 238 of file TFormula.h.
References fNpar.
Referenced by Analyze(), HFit::CheckFitFunction(), chisquare_corr(), TMVA::MethodFDA::CreateFormula(), TFitEditor::DoFit(), TH2::DoFitSlices(), TFitEditor::DoFunction(), RooTFnBinding::evaluate(), HFit::Fit(), TBinomialEfficiencyFitter::Fit(), TFitter::FitChisquare(), TFumili::FitChisquare(), TFumili::FitChisquareI(), TFitter::FitChisquareI(), TFitter::FitLikelihood(), TFumili::FitLikelihood(), TFumili::FitLikelihoodI(), TFitter::FitLikelihoodI(), TH3::FitSlicesZ(), Graph2DFitChisquare(), GraphFitChisquare(), GraphFitChisquareFumili(), H1InitPolynom(), TGraph::InitPolynom(), TMultiGraph::InitPolynom(), MultiGraphFitChisquare(), THistPainter::PaintStat(), THistPainter::PaintStat2(), TGraphPainter::PaintStats(), TF1::SavePrimitive(), TF2::SavePrimitive(), TF3::SavePrimitive(), TLinearFitter::SetFormula(), TF1Editor::SetModel(), stress1(), and TTreePlayer::UnbinnedFit().
virtual Int_t TFormula::GetNumber | ( | ) | const [inline, virtual] |
Definition at line 239 of file TFormula.h.
References fNumber.
Referenced by Compile(), HFit::Fit(), TLinearFitter::SetFormula(), TLinearFitter::TLinearFitter(), and ROOT::Math::WrappedTF1::WrappedTF1().
Definition at line 2948 of file TFormula.cxx.
References TString::Contains(), depth, fExpr, fNoper, fNpar, fOper, fParams, funcname, GetAction(), GetActionParam(), i, j, kBoolOptimize, kexpo, kFALSE, kJump, kJumpIf, kSignInv, kTFOperMask, kTRUE, kzpol, TString::ReplaceAll(), snprintf, and TString::ToLower().
Referenced by Analyze(), copyTF1(), TMVA::TActivationSigmoid::GetExpression(), TMVA::TActivationRadial::GetExpression(), TMVA::TActivationTanh::GetExpression(), and TFitEditor::SetFitObject().
Definition at line 3157 of file TFormula.cxx.
References fNpar, and fParams.
Referenced by Analyze(), TH2::DoFitSlices(), TFitParametersDialog::DoParBound(), TBinomialEfficiencyFitter::Fit(), TH3::FitSlicesZ(), GetParameter(), THistPainter::PaintStat(), THistPainter::PaintStat2(), TGraphPainter::PaintStats(), TF1::SavePrimitive(), TF2::SavePrimitive(), TF3::SavePrimitive(), TLinearFitter::SetFormula(), solveLinear(), stress1(), stress4(), and TestBinomial().
Double_t TFormula::GetParameter | ( | const char * | name | ) | const |
Definition at line 3166 of file TFormula.cxx.
References TObject::Error(), GetParameter(), and GetParNumber().
virtual Double_t* TFormula::GetParameters | ( | ) | const [inline, virtual] |
Definition at line 243 of file TFormula.h.
References fParams.
Referenced by TH2::DoFitSlices(), ErrorIntegral(), F2Fit(), F3Fit(), fitExclude(), TH3::FitSlicesZ(), FittingDemo(), langaufit(), and multifit().
virtual void TFormula::GetParameters | ( | Double_t * | params | ) | [inline, virtual] |
const char * TFormula::GetParName | ( | Int_t | ipar | ) | const [virtual] |
Definition at line 3180 of file TFormula.cxx.
References fNames, fNpar, and Form().
Referenced by TH2::DoFitSlices(), TFitParametersDialog::DoParFix(), TBinomialEfficiencyFitter::Fit(), TH3::FitSlicesZ(), TLinearFitter::GetParameter(), TLinearFitter::GetParName(), GetParNumber(), THistPainter::PaintStat(), THistPainter::PaintStat2(), TGraphPainter::PaintStats(), ROOT::Math::WrappedTF1::ParameterName(), ROOT::Math::WrappedMultiTF1::ParameterName(), and Print().
Int_t TFormula::GetParNumber | ( | const char * | name | ) | const [virtual] |
Definition at line 3191 of file TFormula.cxx.
References fNpar, GetParName(), and i.
Referenced by GetParameter(), and SetParameter().
virtual Bool_t TFormula::IsLinear | ( | ) | [inline, virtual] |
Definition at line 247 of file TFormula.h.
References kLinear, and TObject::TestBit().
Referenced by HFit::Fit(), TLinearFitter::TLinearFitter(), ROOT::Math::WrappedMultiTF1::WrappedMultiTF1(), and ROOT::Math::WrappedTF1::WrappedTF1().
virtual Bool_t TFormula::IsNormalized | ( | ) | [inline, virtual] |
Definition at line 248 of file TFormula.h.
References kNormalized, and TObject::TestBit().
Referenced by EvalParFast(), and EvalParOld().
void TFormula::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TNamed.
Definition at line 3214 of file TFormula.cxx.
References fExpr, fExprOptimized, fNames, fNdim, fNoper, fNOperOptimized, fNpar, fParams, GetAction(), GetActionOptimized(), GetActionParam(), GetActionParamOptimized(), TNamed::GetName(), GetParName(), TNamed::GetTitle(), i, and Printf().
Referenced by TF1::Print().
void TFormula::ProcessLinear | ( | TString & | replaceformula | ) | [virtual] |
Definition at line 3243 of file TFormula.cxx.
References TObjArray::Add(), TString::Append(), TString::Data(), TObjArray::Delete(), TObject::Error(), TObjArray::Expand(), fLinearParts, TROOT::GetListOfFunctions(), gROOT, i, TString::Insert(), kNotGlobal, TString::Length(), nf, TCollection::Remove(), TString::Replace(), TString::ReplaceAll(), snprintf, TFormula(), TString::Tokenize(), and TObjArray::UncheckedAt().
Referenced by Compile().
virtual void TFormula::SetNumber | ( | Int_t | number | ) | [inline, virtual] |
void TFormula::SetParameter | ( | const char * | name, | |
Double_t | parvalue | |||
) | [virtual] |
Definition at line 3307 of file TFormula.cxx.
References fNpar, fParams, GetParNumber(), and Update().
Referenced by anim(), Animate(), RooAbsReal::asTF(), TFitParametersDialog::DoParBound(), TFitParametersDialog::DoParValue(), TFunctionParametersDialog::DoParValue(), TFitParametersDialog::DoReset(), TFunctionParametersDialog::DoReset(), TFunctionParametersDialog::DoSlider(), TFitParametersDialog::DoSlider(), ErrorIntegral(), RooTFnBinding::evaluate(), TBinomialEfficiencyFitter::Fit(), FittingDemo(), TF1::FixParameter(), TKDE::GetPDFLowerConfidenceInterval(), TKDE::GetPDFUpperConfidenceInterval(), H1InitExpo(), H1InitGaus(), H1InitPolynom(), ROOT::Fit::Init2DGaus(), TMultiGraph::InitExpo(), TGraph::InitExpo(), ROOT::Fit::InitGaus(), TGraph::InitGaus(), TMultiGraph::InitGaus(), TGraph::InitPolynom(), TMultiGraph::InitPolynom(), TMVA::MethodFDA::InterpretFormula(), logscales(), mathStudent(), normalDist(), portfolio(), TFitParametersDialog::SetParameters(), TestBinomial(), testPolyFit(), and testUnfold1().
void TFormula::SetParameters | ( | const Double_t * | params | ) | [virtual] |
Definition at line 3330 of file TFormula.cxx.
References fNpar, fParams, i, and Update().
Referenced by ApplicationWindow::ApplicationWindow(), Bessel(), TFumiliFCN::Calculate_gradient_and_hessian(), combinedFit(), TBinomialEfficiencyFitter::ComputeFCN(), ConfidenceIntervals(), TLinearFitter::CStep(), DoFit(), TH2::DoFitSlices(), ROOT::Math::WrappedTF1::DoParameterDerivative(), ROOT::Math::WrappedMultiTF1::DoParameterDerivative(), TTripleSliderDemo::DoSlider(), TTripleSliderDemo::DoText(), ErrorIntegral(), TLinearFitter::Eval(), exampleFit3D(), exampleFunctor(), findPeak2(), fit2(), fit2a(), fit2DHist(), fit3DHist(), TFumili::FitChisquareI(), TFitter::FitChisquareI(), fitExclude(), fithist(), TFitter::FitLikelihoodI(), TH3::FitSlicesZ(), FittingDemo(), GAMinTutorial(), TMVA::KDEKernel::GetBinKernelIntegral(), TFitEditor::GetFitFunction(), DNDMainFrame::GetObject(), goftest(), graph2derrorsfit(), graph2dfit(), h1analysisProxy_Terminate(), hist2image(), histgen(), hstack(), ROOT::Fit::InitExpo(), TF1::InitStandardFunctions(), integral_TF1(), langaufit(), mathBeta(), mathGammaNormal(), mathLaplace(), mathStudent(), normalDist(), SplitGLView::OnMouseIdle(), options2d1(), ROOT::Math::WrappedTF1::ParameterGradient(), ROOT::Math::WrappedMultiTF1::ParameterGradient(), peaks(), stress1(), stress2(), stress4(), stressTF1(), h1analysis::Terminate(), testDistr1D(), testH2Integral(), testH3Integral(), testHisto2DFit(), testIntegPerf(), testUnBinnedFit(), TTripleSliderDemo::TTripleSliderDemo(), TwoDimensions(), unuranDistr(), unuranGraf(), unuranGraf2D(), and waves().
void TFormula::SetParName | ( | Int_t | ipar, | |
const char * | name | |||
) | [virtual] |
void TFormula::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" | |||
) | [virtual] |
virtual void TFormula::Update | ( | ) | [inline, virtual] |
Definition at line 263 of file TFormula.h.
Referenced by SplitGLView::OnMouseIdle(), SetParameter(), and SetParameters().
void TFormula::SetMaxima | ( | Int_t | maxop = 1000 , |
|
Int_t | maxpar = 1000 , |
|||
Int_t | maxconst = 1000 | |||
) | [static] |
Definition at line 4438 of file TFormula.cxx.
References gMAXCONST, gMAXOP, gMAXPAR, and TMath::Max().
Referenced by G__G__Hist_229_0_63(), and G__setup_memfuncTFormula().
Int_t TFormula::PreCompile | ( | ) | [protected] |
pointer to optimal function
virtual Bool_t TFormula::CheckOperands | ( | Int_t | leftoperand, | |
Int_t | rightoperartion, | |||
Int_t & | err | |||
) | [protected, virtual] |
void TFormula::MakePrimitive | ( | const char * | expr, | |
Int_t | pos | |||
) | [protected] |
Int_t* TFormula::GetOper | ( | ) | const [inline, protected] |
Int_t* TFormula::GetOperOptimized | ( | ) | const [inline, protected] |
void TFormula::ClearFormula | ( | Option_t * | option = "" |
) | [protected] |
virtual void TFormula::Convert | ( | UInt_t | fromVersion | ) | [protected, virtual] |
void TFormula::Optimize | ( | ) |
virtual Bool_t TFormula::AnalyzeFunction | ( | TString & | chaine, | |
Int_t & | err, | |||
Int_t | offset = 0 | |||
) | [virtual] |
virtual Int_t TFormula::Compile | ( | const char * | expression = "" |
) | [virtual] |
virtual char* TFormula::DefinedString | ( | Int_t | code | ) | [virtual] |
virtual Double_t TFormula::Eval | ( | Double_t | x, | |
Double_t | y = 0 , |
|||
Double_t | z = 0 , |
|||
Double_t | t = 0 | |||
) | const [virtual] |
virtual Int_t TFormula::GetNdim | ( | ) | const [inline, virtual] |
virtual Int_t TFormula::GetNpar | ( | void | ) | const [inline, virtual] |
virtual Int_t TFormula::GetNumber | ( | ) | const [inline, virtual] |
Double_t TFormula::GetParameter | ( | const char * | name | ) | const |
virtual Double_t* TFormula::GetParameters | ( | ) | const [inline, virtual] |
virtual void TFormula::GetParameters | ( | Double_t * | params | ) | [inline, virtual] |
virtual const char* TFormula::GetParName | ( | Int_t | ipar | ) | const [virtual] |
virtual Int_t TFormula::GetParNumber | ( | const char * | name | ) | const [virtual] |
virtual Bool_t TFormula::IsLinear | ( | ) | [inline, virtual] |
virtual Bool_t TFormula::IsNormalized | ( | ) | [inline, virtual] |
virtual void TFormula::ProcessLinear | ( | TString & | replaceformula | ) | [virtual] |
virtual void TFormula::SetNumber | ( | Int_t | number | ) | [inline, virtual] |
virtual void TFormula::SetParameter | ( | const char * | name, | |
Double_t | parvalue | |||
) | [virtual] |
virtual void TFormula::SetParameters | ( | const Double_t * | params | ) | [virtual] |
virtual void TFormula::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 | |||
) | [virtual] |
virtual void TFormula::SetParName | ( | Int_t | ipar, | |
const char * | name | |||
) | [virtual] |
virtual void TFormula::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" | |||
) | [virtual] |
virtual void TFormula::Update | ( | ) | [inline, virtual] |
Definition at line 263 of file TFormula.h.
static void TFormula::SetMaxima | ( | Int_t | maxop = 1000 , |
|
Int_t | maxpar = 1000 , |
|||
Int_t | maxconst = 1000 | |||
) | [static] |
Int_t TFormula::fNdim [protected] |
Definition at line 71 of file TFormula.h.
Referenced by Analyze(), ClearFormula(), Compile(), Copy(), TF1::CreateFromCintClass(), TF1::CreateFromFunctor(), DefinedVariable(), GetNdim(), TTreeFormula::Init(), Print(), TF1::TF1(), TF2::TF2(), TF3::TF3(), and TFormula().
Int_t TFormula::fNpar [protected] |
Definition at line 72 of file TFormula.h.
Referenced by Analyze(), AnalyzeFunction(), ClearFormula(), Compile(), Copy(), TF1::Copy(), TF1::CreateFromCintClass(), TF1::CreateFromFunctor(), TTreeFormula::DefinedVariable(), TF1::FixParameter(), GetExpFormula(), TF1::GetNDF(), GetNpar(), TF1::GetNumberFreeParameters(), GetParameter(), GetParameters(), TF1::GetParError(), TF1::GetParLimits(), GetParName(), GetParNumber(), TF1::GradientPar(), Print(), TF1::ReleaseParameter(), TF1::SavePrimitive(), TF2::SavePrimitive(), TF3::SavePrimitive(), TF1::SetFitResult(), SetParameter(), SetParameters(), TF1::SetParError(), TF1::SetParErrors(), TF1::SetParLimits(), SetParName(), SetParNames(), TF1::TF1(), and TFormula().
Int_t TFormula::fNoper [protected] |
Definition at line 73 of file TFormula.h.
Referenced by Analyze(), AnalyzeFunction(), ClearFormula(), Copy(), TTreeFormula::DefineAlternate(), TTreeFormula::DefinedVariable(), TTreeFormula::EvalClass(), TTreeFormula::EvalObject(), EvalParOld(), TTreeFormula::EvalStringInstance(), GetExpFormula(), TTreeFormula::Init(), Print(), TTreeFormula::RegisterDimensions(), and TFormula().
Int_t TFormula::fNconst [protected] |
Definition at line 74 of file TFormula.h.
Referenced by Analyze(), ClearFormula(), Copy(), MakePrimitive(), and TFormula().
Int_t TFormula::fNumber [protected] |
Definition at line 75 of file TFormula.h.
Referenced by ClearFormula(), Copy(), TF1::CreateFromCintClass(), GetNumber(), SetNumber(), TF1::TF1(), and TFormula().
Int_t TFormula::fNval [protected] |
Definition at line 76 of file TFormula.h.
Referenced by Analyze(), ClearFormula(), Copy(), EvalParOld(), RooFormula::reCompile(), and TFormula().
Int_t TFormula::fNstring [protected] |
Definition at line 77 of file TFormula.h.
Referenced by Analyze(), ClearFormula(), EvalParOld(), and TFormula().
TString* TFormula::fExpr [protected] |
Definition at line 78 of file TFormula.h.
Referenced by Analyze(), AnalyzeFunction(), CheckOperands(), ClearFormula(), Compile(), Convert(), Copy(), TTreeFormula::DefineAlternate(), EvalParOld(), GetExpFormula(), Optimize(), Print(), and TFormula().
Int_t* TFormula::fOper [private] |
Definition at line 80 of file TFormula.h.
Referenced by ClearFormula(), Compile(), Convert(), Copy(), EvalParOld(), GetAction(), GetActionParam(), GetExpFormula(), GetOper(), Optimize(), SetAction(), and TFormula().
Double_t* TFormula::fConst [protected] |
Definition at line 82 of file TFormula.h.
Referenced by Analyze(), ClearFormula(), Compile(), Copy(), EvalParFast(), EvalParOld(), EvalPrimitive(), EvalPrimitive0(), EvalPrimitive1(), EvalPrimitive2(), EvalPrimitive3(), MakePrimitive(), Optimize(), and TFormula().
Double_t* TFormula::fParams [protected] |
Definition at line 83 of file TFormula.h.
Referenced by Analyze(), ClearFormula(), Compile(), Copy(), TF1::CreateFromCintClass(), TF1::CreateFromFunctor(), TF2::CreateHistogram(), TF1::Eval(), TF1::EvalPar(), EvalParFast(), EvalParOld(), EvalPrimitive(), EvalPrimitive0(), EvalPrimitive1(), EvalPrimitive2(), EvalPrimitive3(), EvalPrimitive4(), GetExpFormula(), GetParameter(), GetParameters(), TF3::GetRandom3(), TF1::GradientPar(), TF1::InitArgs(), TF2::Paint(), TF1::Paint(), Print(), TF3::Save(), TF2::Save(), TF1::Save(), TF1::SavePrimitive(), TF1::SetFitResult(), SetParameter(), SetParameters(), TF1::TF1(), and TFormula().
TString* TFormula::fNames [protected] |
Definition at line 84 of file TFormula.h.
Referenced by ClearFormula(), Compile(), Copy(), TF1::CreateFromCintClass(), TF1::CreateFromFunctor(), GetParName(), Print(), SetParName(), SetParNames(), TF1::TF1(), and TFormula().
TObjArray TFormula::fFunctions [protected] |
Definition at line 85 of file TFormula.h.
Referenced by AnalyzeFunction(), ClearFormula(), Copy(), EvalParFast(), and EvalParOld().
TObjArray TFormula::fLinearParts [protected] |
Definition at line 86 of file TFormula.h.
Referenced by ClearFormula(), GetLinearPart(), and ProcessLinear().
TBits TFormula::fAlreadyFound [protected] |
Int_t TFormula::fNOperOptimized [protected] |
cache for information
Definition at line 91 of file TFormula.h.
Referenced by Copy(), EvalParFast(), Optimize(), Print(), and TFormula().
TString* TFormula::fExprOptimized [protected] |
Number of operators after optimization.
Definition at line 92 of file TFormula.h.
Referenced by ClearFormula(), Copy(), EvalParFast(), Optimize(), Print(), and TFormula().
Int_t* TFormula::fOperOptimized [protected] |
[fNOperOptimized] List of expressions
Definition at line 93 of file TFormula.h.
Referenced by ClearFormula(), Copy(), EvalParFast(), EvalPrimitive(), GetActionOptimized(), GetActionParamOptimized(), GetOperOptimized(), Optimize(), SetActionOptimized(), and TFormula().
TOperOffset* TFormula::fOperOffset [protected] |
[fNOperOptimized] List of operators. (See documentation for changes made at version 7)
Definition at line 94 of file TFormula.h.
Referenced by ClearFormula(), Copy(), EvalParFast(), EvalPrimitive(), EvalPrimitive0(), EvalPrimitive1(), EvalPrimitive2(), EvalPrimitive3(), EvalPrimitive4(), Optimize(), and TFormula().
TFormulaPrimitive** TFormula::fPredefined [protected] |
[fNOperOptimized] Offsets of operrands
Definition at line 95 of file TFormula.h.
Referenced by ClearFormula(), Copy(), EvalParFast(), EvalPrimitive(), EvalPrimitive1(), EvalPrimitive2(), EvalPrimitive3(), EvalPrimitive4(), MakePrimitive(), Optimize(), and TFormula().
TFuncG TFormula::fOptimal [protected] |
[fNPar] predefined function
Definition at line 96 of file TFormula.h.
Referenced by Copy(), EvalPar(), Optimize(), and TFormula().
TString* TFormula::fExpr [protected] |
Definition at line 78 of file TFormula.h.
Int_t* TFormula::fOper [private] |
Definition at line 80 of file TFormula.h.
Double_t* TFormula::fConst [protected] |
Definition at line 82 of file TFormula.h.
Double_t* TFormula::fParams [protected] |
Definition at line 83 of file TFormula.h.
TString* TFormula::fNames [protected] |
Definition at line 84 of file TFormula.h.
TString* TFormula::fExprOptimized [protected] |
Int_t* TFormula::fOperOptimized [protected] |
TOperOffset* TFormula::fOperOffset [protected] |
[fNOperOptimized] List of operators. (See documentation for changes made at version 7)
Definition at line 94 of file TFormula.h.
TFormulaPrimitive** TFormula::fPredefined [protected] |