TF2 Class Reference

#include <TF2.h>

Inheritance diagram for TF2:

TF1 TF1 TAttMarker TAttFill TAttLine TFormula TAttMarker TAttFill TAttLine TFormula TAttMarker TAttFill TAttLine TFormula TAttMarker TAttFill TAttLine TFormula TF3 TF3 List of all members.

Public Member Functions

 TF2 ()
 TF2 (const char *name, const char *formula, Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1)
 TF2 (const char *name, void *fcn, Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0)
 TF2 (const char *name, Double_t(*fcn)(Double_t *, Double_t *), Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0)
 TF2 (const char *name, Double_t(*fcn)(const Double_t *, const Double_t *), Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0)
 TF2 (const char *name, ROOT::Math::ParamFunctor f, Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0)
template<class PtrObj, typename MemFn>
 TF2 (const char *name, const PtrObj &p, MemFn memFn, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Int_t npar, const char *c1, const char *c2)
template<typename Func>
 TF2 (const char *name, Func f, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Int_t npar, const char *tmp)
 TF2 (const char *name, void *ptr, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Int_t npar, const char *className)
 TF2 (const char *name, void *ptr, void *, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Int_t npar, const char *className, const char *methodName=0)
 TF2 (const TF2 &f2)
TF2operator= (const TF2 &rhs)
virtual ~TF2 ()
virtual void Copy (TObject &f2) const
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual TF1DrawCopy (Option_t *option="") const
virtual TObjectDrawDerivative (Option_t *="al")
virtual TObjectDrawIntegral (Option_t *="al")
virtual void DrawF2 (const char *formula, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Option_t *option="")
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual Int_t GetContour (Double_t *levels=0)
virtual Double_t GetContourLevel (Int_t level) const
Int_t GetNpy () const
virtual char * GetObjectInfo (Int_t px, Int_t py) const
Double_t GetRandom ()
Double_t GetRandom (Double_t xmin, Double_t xmax)
virtual void GetRandom2 (Double_t &xrandom, Double_t &yrandom)
virtual void GetRange (Double_t &xmin, Double_t &xmax) const
virtual void GetRange (Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax) const
virtual void GetRange (Double_t &xmin, Double_t &ymin, Double_t &zmin, Double_t &xmax, Double_t &ymax, Double_t &zmax) const
virtual Double_t GetSave (const Double_t *x)
virtual void GetMinimumXY (Double_t &x, Double_t &y)
virtual Double_t GetYmin () const
virtual Double_t GetYmax () const
virtual Double_t Integral (Double_t a, Double_t b, const Double_t *params=0, Double_t epsil=0.000001)
virtual Double_t Integral (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsil=0.000001)
virtual Double_t Integral (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t az, Double_t bz, Double_t epsil=0.000001)
virtual Bool_t IsInside (const Double_t *x) const
virtual TH1CreateHistogram ()
virtual void Paint (Option_t *option="")
virtual void Save (Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Double_t zmin, Double_t zmax)
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetNpy (Int_t npy=100)
virtual void SetContour (Int_t nlevels=20, const Double_t *levels=0)
virtual void SetContourLevel (Int_t level, Double_t value)
virtual void SetRange (Double_t xmin, Double_t xmax)
virtual void SetRange (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax)
virtual void SetRange (Double_t xmin, Double_t ymin, Double_t zmin, Double_t xmax, Double_t ymax, Double_t zmax)
virtual Double_t Moment2 (Double_t nx, Double_t ax, Double_t bx, Double_t ny, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t CentralMoment2 (Double_t nx, Double_t ax, Double_t bx, Double_t ny, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t Mean2X (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t Mean2Y (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t Variance2X (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t Variance2Y (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t Covariance2XY (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001)
 TF2 ()
 TF2 (const char *name, const char *formula, Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1)
 TF2 (const char *name, void *fcn, Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0)
 TF2 (const char *name, Double_t(*fcn)(Double_t *, Double_t *), Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0)
 TF2 (const char *name, Double_t(*fcn)(const Double_t *, const Double_t *), Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0)
 TF2 (const char *name, ROOT::Math::ParamFunctor f, Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0)
template<class PtrObj, typename MemFn>
 TF2 (const char *name, const PtrObj &p, MemFn memFn, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Int_t npar, const char *c1, const char *c2)
template<typename Func>
 TF2 (const char *name, Func f, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Int_t npar, const char *tmp)
 TF2 (const char *name, void *ptr, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Int_t npar, const char *className)
 TF2 (const char *name, void *ptr, void *, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Int_t npar, const char *className, const char *methodName=0)
 TF2 (const TF2 &f2)
TF2operator= (const TF2 &rhs)
virtual ~TF2 ()
virtual void Copy (TObject &f2) const
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual TF1DrawCopy (Option_t *option="") const
virtual TObjectDrawDerivative (Option_t *="al")
virtual TObjectDrawIntegral (Option_t *="al")
virtual void DrawF2 (const char *formula, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Option_t *option="")
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual Int_t GetContour (Double_t *levels=0)
virtual Double_t GetContourLevel (Int_t level) const
Int_t GetNpy () const
virtual char * GetObjectInfo (Int_t px, Int_t py) const
Double_t GetRandom ()
Double_t GetRandom (Double_t xmin, Double_t xmax)
virtual void GetRandom2 (Double_t &xrandom, Double_t &yrandom)
virtual void GetRange (Double_t &xmin, Double_t &xmax) const
virtual void GetRange (Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax) const
virtual void GetRange (Double_t &xmin, Double_t &ymin, Double_t &zmin, Double_t &xmax, Double_t &ymax, Double_t &zmax) const
virtual Double_t GetSave (const Double_t *x)
virtual void GetMinimumXY (Double_t &x, Double_t &y)
virtual Double_t GetYmin () const
virtual Double_t GetYmax () const
virtual Double_t Integral (Double_t a, Double_t b, const Double_t *params=0, Double_t epsil=0.000001)
virtual Double_t Integral (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsil=0.000001)
virtual Double_t Integral (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t az, Double_t bz, Double_t epsil=0.000001)
virtual Bool_t IsInside (const Double_t *x) const
virtual TH1CreateHistogram ()
virtual void Paint (Option_t *option="")
virtual void Save (Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Double_t zmin, Double_t zmax)
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetNpy (Int_t npy=100)
virtual void SetContour (Int_t nlevels=20, const Double_t *levels=0)
virtual void SetContourLevel (Int_t level, Double_t value)
virtual void SetRange (Double_t xmin, Double_t xmax)
virtual void SetRange (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax)
virtual void SetRange (Double_t xmin, Double_t ymin, Double_t zmin, Double_t xmax, Double_t ymax, Double_t zmax)
virtual Double_t Moment2 (Double_t nx, Double_t ax, Double_t bx, Double_t ny, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t CentralMoment2 (Double_t nx, Double_t ax, Double_t bx, Double_t ny, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t Mean2X (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t Mean2Y (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t Variance2X (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t Variance2Y (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001)
virtual Double_t Covariance2XY (Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001)

Protected Attributes

Double_t fYmin
Double_t fYmax
Int_t fNpy
TArrayD fContour

Detailed Description

Definition at line 33 of file TF2.h.


Constructor & Destructor Documentation

TF2::TF2 (  ) 

Referenced by DrawCopy().

TF2::TF2 ( const char *  name,
const char *  formula,
Double_t  xmin = 0,
Double_t  xmax = 1,
Double_t  ymin = 0,
Double_t  ymax = 1 
)

Definition at line 54 of file TF2.cxx.

References TObject::Error(), fContour, TFormula::fNdim, TF1::fNpx, fNpy, fYmax, fYmin, TObject::MakeZombie(), and TArrayD::Set().

TF2::TF2 ( const char *  name,
void *  fcn,
Double_t  xmin = 0,
Double_t  xmax = 1,
Double_t  ymin = 0,
Double_t  ymax = 1,
Int_t  npar = 0 
)

Definition at line 82 of file TF2.cxx.

References fContour, TFormula::fNdim, TF1::fNpx, fNpy, fYmax, fYmin, and TArrayD::Set().

TF2::TF2 ( const char *  name,
Double_t(*)(Double_t *, Double_t *)  fcn,
Double_t  xmin = 0,
Double_t  xmax = 1,
Double_t  ymin = 0,
Double_t  ymax = 1,
Int_t  npar = 0 
)

Definition at line 111 of file TF2.cxx.

References fContour, TFormula::fNdim, TF1::fNpx, fNpy, fYmax, fYmin, and TArrayD::Set().

TF2::TF2 ( const char *  name,
Double_t(*)(const Double_t *, const Double_t *)  fcn,
Double_t  xmin = 0,
Double_t  xmax = 1,
Double_t  ymin = 0,
Double_t  ymax = 1,
Int_t  npar = 0 
)

Definition at line 136 of file TF2.cxx.

References fContour, TFormula::fNdim, TF1::fNpx, fNpy, fYmax, fYmin, and TArrayD::Set().

TF2::TF2 ( const char *  name,
ROOT::Math::ParamFunctor  f,
Double_t  xmin = 0,
Double_t  xmax = 1,
Double_t  ymin = 0,
Double_t  ymax = 1,
Int_t  npar = 0 
)

Definition at line 161 of file TF2.cxx.

References fContour, TFormula::fNdim, TF1::fNpx, fNpy, fYmax, fYmin, and TArrayD::Set().

template<class PtrObj, typename MemFn>
TF2::TF2 ( const char *  name,
const PtrObj &  p,
MemFn  memFn,
Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Int_t  npar,
const char *  c1,
const char *  c2 
) [inline]

Definition at line 56 of file TF2.h.

References TFormula::fNdim, and TF1::fNpx.

template<typename Func>
TF2::TF2 ( const char *  name,
Func  f,
Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Int_t  npar,
const char *  tmp 
) [inline]

Definition at line 66 of file TF2.h.

References TFormula::fNdim, and TF1::fNpx.

TF2::TF2 ( const char *  name,
void *  ptr,
Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Int_t  npar,
const char *  className 
)

Definition at line 182 of file TF2.cxx.

References fContour, TFormula::fNdim, TF1::fNpx, fNpy, fYmax, fYmin, and TArrayD::Set().

TF2::TF2 ( const char *  name,
void *  ptr,
void *  ,
Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Int_t  npar,
const char *  className,
const char *  methodName = 0 
)

Definition at line 204 of file TF2.cxx.

References fContour, TFormula::fNdim, TF1::fNpx, fNpy, fYmax, fYmin, and TArrayD::Set().

TF2::TF2 ( const TF2 f2  ) 

Definition at line 247 of file TF2.cxx.

References f2.

TF2::~TF2 (  )  [virtual]

Definition at line 239 of file TF2.cxx.

TF2::TF2 (  ) 

TF2::TF2 ( const char *  name,
const char *  formula,
Double_t  xmin = 0,
Double_t  xmax = 1,
Double_t  ymin = 0,
Double_t  ymax = 1 
)

TF2::TF2 ( const char *  name,
void *  fcn,
Double_t  xmin = 0,
Double_t  xmax = 1,
Double_t  ymin = 0,
Double_t  ymax = 1,
Int_t  npar = 0 
)

TF2::TF2 ( const char *  name,
Double_t(*)(Double_t *, Double_t *)  fcn,
Double_t  xmin = 0,
Double_t  xmax = 1,
Double_t  ymin = 0,
Double_t  ymax = 1,
Int_t  npar = 0 
)

TF2::TF2 ( const char *  name,
Double_t(*)(const Double_t *, const Double_t *)  fcn,
Double_t  xmin = 0,
Double_t  xmax = 1,
Double_t  ymin = 0,
Double_t  ymax = 1,
Int_t  npar = 0 
)

TF2::TF2 ( const char *  name,
ROOT::Math::ParamFunctor  f,
Double_t  xmin = 0,
Double_t  xmax = 1,
Double_t  ymin = 0,
Double_t  ymax = 1,
Int_t  npar = 0 
)

template<class PtrObj, typename MemFn>
TF2::TF2 ( const char *  name,
const PtrObj &  p,
MemFn  memFn,
Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Int_t  npar,
const char *  c1,
const char *  c2 
) [inline]

Definition at line 56 of file TF2.h.

References TFormula::fNdim, and TF1::fNpx.

template<typename Func>
TF2::TF2 ( const char *  name,
Func  f,
Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Int_t  npar,
const char *  tmp 
) [inline]

Definition at line 66 of file TF2.h.

References TFormula::fNdim, and TF1::fNpx.

TF2::TF2 ( const char *  name,
void *  ptr,
Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Int_t  npar,
const char *  className 
)

TF2::TF2 ( const char *  name,
void *  ptr,
void *  ,
Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Int_t  npar,
const char *  className,
const char *  methodName = 0 
)

TF2::TF2 ( const TF2 f2  ) 

virtual TF2::~TF2 (  )  [virtual]


Member Function Documentation

TF2 & TF2::operator= ( const TF2 rhs  ) 

Definition at line 228 of file TF2.cxx.

References Copy().

void TF2::Copy ( TObject f2  )  const [virtual]

Reimplemented from TF1.

Definition at line 255 of file TF2.cxx.

References TArrayD::Copy(), TF1::Copy(), fContour, fNpy, fYmax, and fYmin.

Referenced by TF3::Copy(), copyTF1(), DrawCopy(), and operator=().

Int_t TF2::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TF1.

Definition at line 268 of file TF2.cxx.

References RootCsg::distance(), TH1::DistancetoPrimitive(), TF1::fHistogram, TF1::fXmax, TF1::fXmin, fYmax, fYmin, TObject::GetDrawOption(), gPad, x, and y.

void TF2::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TF1.

Definition at line 304 of file TF2.cxx.

References TObject::AppendPad(), TString::Contains(), gPad, and TString::ToLower().

Referenced by anim(), ConfidenceIntervals(), DrawF2(), exampleFunctor(), fit2(), fit2a(), GammaFun(), glrose(), glsurfaces(), graph2dfit(), logscales(), mathcoreCDF(), mathcoreStatFunc(), multipalette(), portfolio(), stress5(), surfaces(), and waves().

TF1 * TF2::DrawCopy ( Option_t option = ""  )  const [virtual]

Reimplemented from TF1.

Definition at line 320 of file TF2.cxx.

References TObject::AppendPad(), Copy(), TObject::kCanDelete, TObject::SetBit(), and TF2().

virtual TObject* TF2::DrawDerivative ( Option_t = "al"  )  [inline, virtual]

Reimplemented from TF1.

Definition at line 85 of file TF2.h.

virtual TObject* TF2::DrawIntegral ( Option_t = "al"  )  [inline, virtual]

Reimplemented from TF1.

Definition at line 86 of file TF2.h.

void TF2::DrawF2 ( const char *  formula,
Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Option_t option = "" 
) [virtual]

Definition at line 346 of file TF2.cxx.

References TFormula::Compile(), Draw(), and SetRange().

void TF2::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TF1.

Definition at line 361 of file TF2.cxx.

References TF1::ExecuteEvent().

Int_t TF2::GetContour ( Double_t levels = 0  )  [virtual]

Definition at line 373 of file TF2.cxx.

References fContour, TArray::fN, GetContourLevel(), and level.

Double_t TF2::GetContourLevel ( Int_t  level  )  const [virtual]

Definition at line 389 of file TF2.cxx.

References TArrayD::fArray, fContour, TF1::fHistogram, TArray::fN, and TH1::GetContourLevel().

Referenced by GetContour().

Int_t TF2::GetNpy (  )  const [inline]

Definition at line 91 of file TF2.h.

References fNpy.

char * TF2::GetObjectInfo ( Int_t  px,
Int_t  py 
) const [virtual]

Reimplemented from TF1.

Definition at line 479 of file TF2.cxx.

References TF1::Eval(), TF1::fXmax, TF1::fXmin, fYmax, fYmin, TObject::GetDrawOption(), gPad, info, snprintf, x, and y.

Double_t TF2::GetRandom (  )  [virtual]

Reimplemented from TF1.

Definition at line 507 of file TF2.cxx.

References TObject::Error().

Double_t TF2::GetRandom ( Double_t  xmin,
Double_t  xmax 
) [virtual]

Reimplemented from TF1.

Definition at line 517 of file TF2.cxx.

References TObject::Error().

void TF2::GetRandom2 ( Double_t xrandom,
Double_t yrandom 
) [virtual]

Definition at line 527 of file TF2.cxx.

References TMath::BinarySearch(), TObject::Error(), TF1::fIntegral, TF1::fNpx, fNpy, TF1::fXmax, TF1::fXmin, fYmax, fYmin, TNamed::GetName(), gRandom, i, Integral(), j, TRandom::Rndm(), and TObject::Warning().

Referenced by ConfidenceIntervals(), graph2derrorsfit(), and graph2dfit().

virtual void TF2::GetRange ( Double_t xmin,
Double_t xmax 
) const [inline, virtual]

Reimplemented from TF1.

Definition at line 96 of file TF2.h.

References TF1::GetRange().

Referenced by TF3::GetRange().

void TF2::GetRange ( Double_t xmin,
Double_t ymin,
Double_t xmax,
Double_t ymax 
) const [virtual]

Reimplemented from TF1.

Definition at line 593 of file TF2.cxx.

References TF1::fXmax, TF1::fXmin, fYmax, and fYmin.

void TF2::GetRange ( Double_t xmin,
Double_t ymin,
Double_t zmin,
Double_t xmax,
Double_t ymax,
Double_t zmax 
) const [virtual]

Reimplemented from TF1.

Definition at line 605 of file TF2.cxx.

References TF1::fXmax, TF1::fXmin, fYmax, and fYmin.

Double_t TF2::GetSave ( const Double_t x  )  [virtual]

Reimplemented from TF1.

Definition at line 620 of file TF2.cxx.

References TF1::fNsave, TF1::fSave, Rgl::Mc::k1, Rgl::Mc::k2, Rgl::Mc::k3, Rgl::Mc::k4, npy, t, u, x, xmax, xmin, y, ymax, and ymin.

void TF2::GetMinimumXY ( Double_t x,
Double_t y 
) [virtual]

Definition at line 400 of file TF2.cxx.

References TVirtualFitter::Clear(), TF1::Eval(), TVirtualFitter::ExecuteCommand(), TVirtualFitter::Fitter(), TF1::fNpx, fNpy, TF1::fXmax, TF1::fXmin, fYmax, fYmin, TVirtualFitter::GetFitter(), TNamed::GetName(), TVirtualFitter::GetParameter(), i, j, TMath::Min(), TVirtualFitter::SetFitMethod(), TVirtualFitter::SetParameter(), and TObject::Warning().

virtual Double_t TF2::GetYmin (  )  const [inline, virtual]

Definition at line 101 of file TF2.h.

References fYmin.

Referenced by Graph2DFitChisquare(), and TF12::TF12().

virtual Double_t TF2::GetYmax (  )  const [inline, virtual]

Definition at line 102 of file TF2.h.

References fYmax.

Referenced by Graph2DFitChisquare(), and TF12::TF12().

virtual Double_t TF2::Integral ( Double_t  a,
Double_t  b,
const Double_t params = 0,
Double_t  epsil = 0.000001 
) [inline, virtual]

Reimplemented from TF1.

Definition at line 103 of file TF2.h.

References TF1::Integral(), and params.

Referenced by CentralMoment2(), GetRandom2(), Moment2(), testH2Integral(), and testIntegPerf().

Double_t TF2::Integral ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsil = 0.000001 
) [virtual]

Reimplemented from TF1.

Definition at line 658 of file TF2.cxx.

References a, b, TF1::fNpx, fNpy, TF1::IntegralMultiple(), n, result(), and TObject::Warning().

virtual Double_t TF2::Integral ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  az,
Double_t  bz,
Double_t  epsil = 0.000001 
) [inline, virtual]

Reimplemented from TF1.

Definition at line 105 of file TF2.h.

References TF1::Integral().

Bool_t TF2::IsInside ( const Double_t x  )  const [virtual]

Reimplemented from TF1.

Definition at line 680 of file TF2.cxx.

References TF1::fXmax, TF1::fXmin, fYmax, fYmin, kFALSE, and kTRUE.

Referenced by Graph2DFitChisquare(), and TLinearFitter::Graph2DLinearFitter().

TH1 * TF2::CreateHistogram (  )  [virtual]

Definition at line 690 of file TF2.cxx.

References TF1::EvalPar(), fContour, TF1::fMaximum, TF1::fMinimum, TArray::fN, TF1::fNpx, fNpy, TFormula::fParams, TF1::fXmax, TF1::fXmin, fYmax, fYmin, TArrayD::GetArray(), TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TAttMarker::GetMarkerColor(), TAttMarker::GetMarkerSize(), TAttMarker::GetMarkerStyle(), TNamed::GetTitle(), h, i, TF1::InitArgs(), and j.

Referenced by TF2GL::SetModel().

void TF2::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TF1.

Definition at line 733 of file TF2.cxx.

References TF1::EvalPar(), fContour, TF1::fHistogram, TF1::fMaximum, TF1::fMinimum, TArray::fN, TF1::fNpx, fNpy, TFormula::fParams, TF1::fXmax, TF1::fXmin, fYmax, fYmin, TArrayD::GetArray(), TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TAttMarker::GetMarkerColor(), TAttMarker::GetMarkerSize(), TAttMarker::GetMarkerStyle(), TNamed::GetTitle(), gPad, i, TF1::InitArgs(), j, TString::Length(), TH1::Paint(), TH1::SetBinContent(), TH1::SetContour(), TH1::SetDirectory(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TH1::SetMaximum(), TH1::SetMinimum(), TH1::SetStats(), and TString::ToLower().

void TF2::Save ( Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Double_t  zmin,
Double_t  zmax 
) [virtual]

Reimplemented from TF1.

Definition at line 788 of file TF2.cxx.

References TF1::EvalPar(), TF1::fNpx, fNpy, TF1::fNsave, TFormula::fParams, TF1::fSave, TF1::fXmax, TF1::fXmin, fYmax, fYmin, i, TF1::InitArgs(), j, and k.

Referenced by copyTF1(), and HFit::StoreAndDrawFitFunction().

void TF2::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TF1.

Definition at line 829 of file TF2.cxx.

References xmlio::Class, TROOT::ClassSaved(), TF1::fMethodCall, TFormula::fNpar, TF1::fXmax, TF1::fXmin, fYmax, fYmin, TF1::GetChisquare(), TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TAttMarker::GetMarkerColor(), TAttMarker::GetMarkerSize(), TAttMarker::GetMarkerStyle(), TNamed::GetName(), TFormula::GetNpar(), TF1::GetNpx(), TFormula::GetParameter(), TF1::GetParError(), TF1::GetParLimits(), TNamed::GetTitle(), gROOT, i, and TColor::SaveColor().

void TF2::SetNpy ( Int_t  npy = 100  )  [virtual]

Definition at line 938 of file TF2.cxx.

References fNpy, TF1::Update(), and TObject::Warning().

Referenced by anim(), ConfidenceIntervals(), findPeak2(), fit2a(), glrose(), glsurfaces(), stress2(), and waves().

void TF2::SetContour ( Int_t  nlevels = 20,
const Double_t levels = 0 
) [virtual]

Definition at line 902 of file TF2.cxx.

References TArrayD::fArray, fContour, level, and TArrayD::Set().

Referenced by glrose(), surfaces(), and waves().

void TF2::SetContourLevel ( Int_t  level,
Double_t  value 
) [virtual]

Definition at line 929 of file TF2.cxx.

References TArrayD::fArray, fContour, and TArray::fN.

void TF2::SetRange ( Double_t  xmin,
Double_t  xmax 
) [inline, virtual]

Reimplemented from TF1.

Definition at line 134 of file TF2.h.

References TF1::SetRange().

Referenced by copyTF1(), DrawF2(), TF3::SetRange(), SetRange(), and HFit::StoreAndDrawFitFunction().

void TF2::SetRange ( Double_t  xmin,
Double_t  ymin,
Double_t  xmax,
Double_t  ymax 
) [virtual]

Reimplemented from TF1.

Definition at line 960 of file TF2.cxx.

References TF1::fXmax, TF1::fXmin, fYmax, fYmin, and TF1::Update().

void TF2::SetRange ( Double_t  xmin,
Double_t  ymin,
Double_t  zmin,
Double_t  xmax,
Double_t  ymax,
Double_t  zmax 
) [inline, virtual]

Reimplemented from TF1.

Definition at line 136 of file TF2.h.

References SetRange().

Double_t TF2::Moment2 ( Double_t  nx,
Double_t  ax,
Double_t  bx,
Double_t  ny,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [virtual]

Definition at line 1020 of file TF2.cxx.

References TObject::Error(), Form(), TNamed::GetName(), Integral(), and norm().

Referenced by Mean2X(), and Mean2Y().

Double_t TF2::CentralMoment2 ( Double_t  nx,
Double_t  ax,
Double_t  bx,
Double_t  ny,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [virtual]

Definition at line 1036 of file TF2.cxx.

References TObject::Error(), Form(), TNamed::GetName(), Integral(), and norm().

Referenced by Covariance2XY(), Variance2X(), and Variance2Y().

virtual Double_t TF2::Mean2X ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [inline, virtual]

Definition at line 123 of file TF2.h.

References RootCsg::epsilon, and Moment2().

virtual Double_t TF2::Mean2Y ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [inline, virtual]

Definition at line 124 of file TF2.h.

References RootCsg::epsilon, and Moment2().

virtual Double_t TF2::Variance2X ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [inline, virtual]

Definition at line 126 of file TF2.h.

References CentralMoment2(), and RootCsg::epsilon.

virtual Double_t TF2::Variance2Y ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [inline, virtual]

Definition at line 127 of file TF2.h.

References CentralMoment2(), and RootCsg::epsilon.

virtual Double_t TF2::Covariance2XY ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [inline, virtual]

Definition at line 129 of file TF2.h.

References CentralMoment2(), and RootCsg::epsilon.

TF2& TF2::operator= ( const TF2 rhs  ) 

virtual void TF2::Copy ( TObject f2  )  const [virtual]

Reimplemented from TF1.

virtual Int_t TF2::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TF1.

virtual void TF2::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TF1.

virtual TF1* TF2::DrawCopy ( Option_t option = ""  )  const [virtual]

Reimplemented from TF1.

virtual TObject* TF2::DrawDerivative ( Option_t = "al"  )  [inline, virtual]

Reimplemented from TF1.

Definition at line 85 of file TF2.h.

virtual TObject* TF2::DrawIntegral ( Option_t = "al"  )  [inline, virtual]

Reimplemented from TF1.

Definition at line 86 of file TF2.h.

virtual void TF2::DrawF2 ( const char *  formula,
Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Option_t option = "" 
) [virtual]

virtual void TF2::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TF1.

virtual Int_t TF2::GetContour ( Double_t levels = 0  )  [virtual]

virtual Double_t TF2::GetContourLevel ( Int_t  level  )  const [virtual]

Int_t TF2::GetNpy (  )  const [inline]

Definition at line 91 of file TF2.h.

References fNpy.

virtual char* TF2::GetObjectInfo ( Int_t  px,
Int_t  py 
) const [virtual]

Reimplemented from TF1.

Double_t TF2::GetRandom (  )  [virtual]

Reimplemented from TF1.

Double_t TF2::GetRandom ( Double_t  xmin,
Double_t  xmax 
) [virtual]

Reimplemented from TF1.

virtual void TF2::GetRandom2 ( Double_t xrandom,
Double_t yrandom 
) [virtual]

virtual void TF2::GetRange ( Double_t xmin,
Double_t xmax 
) const [inline, virtual]

Reimplemented from TF1.

Definition at line 96 of file TF2.h.

References TF1::GetRange().

virtual void TF2::GetRange ( Double_t xmin,
Double_t ymin,
Double_t xmax,
Double_t ymax 
) const [virtual]

Reimplemented from TF1.

virtual void TF2::GetRange ( Double_t xmin,
Double_t ymin,
Double_t zmin,
Double_t xmax,
Double_t ymax,
Double_t zmax 
) const [virtual]

Reimplemented from TF1.

virtual Double_t TF2::GetSave ( const Double_t x  )  [virtual]

Reimplemented from TF1.

virtual void TF2::GetMinimumXY ( Double_t x,
Double_t y 
) [virtual]

virtual Double_t TF2::GetYmin (  )  const [inline, virtual]

Definition at line 101 of file TF2.h.

References fYmin.

virtual Double_t TF2::GetYmax (  )  const [inline, virtual]

Definition at line 102 of file TF2.h.

References fYmax.

virtual Double_t TF2::Integral ( Double_t  a,
Double_t  b,
const Double_t params = 0,
Double_t  epsil = 0.000001 
) [inline, virtual]

Reimplemented from TF1.

Definition at line 103 of file TF2.h.

References TF1::Integral(), and params.

virtual Double_t TF2::Integral ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsil = 0.000001 
) [virtual]

Reimplemented from TF1.

virtual Double_t TF2::Integral ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  az,
Double_t  bz,
Double_t  epsil = 0.000001 
) [inline, virtual]

Reimplemented from TF1.

Definition at line 105 of file TF2.h.

References TF1::Integral().

virtual Bool_t TF2::IsInside ( const Double_t x  )  const [virtual]

Reimplemented from TF1.

virtual TH1* TF2::CreateHistogram (  )  [virtual]

virtual void TF2::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TF1.

virtual void TF2::Save ( Double_t  xmin,
Double_t  xmax,
Double_t  ymin,
Double_t  ymax,
Double_t  zmin,
Double_t  zmax 
) [virtual]

Reimplemented from TF1.

virtual void TF2::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TF1.

virtual void TF2::SetNpy ( Int_t  npy = 100  )  [virtual]

virtual void TF2::SetContour ( Int_t  nlevels = 20,
const Double_t levels = 0 
) [virtual]

virtual void TF2::SetContourLevel ( Int_t  level,
Double_t  value 
) [virtual]

virtual void TF2::SetRange ( Double_t  xmin,
Double_t  xmax 
) [virtual]

Reimplemented from TF1.

virtual void TF2::SetRange ( Double_t  xmin,
Double_t  ymin,
Double_t  xmax,
Double_t  ymax 
) [virtual]

Reimplemented from TF1.

virtual void TF2::SetRange ( Double_t  xmin,
Double_t  ymin,
Double_t  zmin,
Double_t  xmax,
Double_t  ymax,
Double_t  zmax 
) [virtual]

Reimplemented from TF1.

virtual Double_t TF2::Moment2 ( Double_t  nx,
Double_t  ax,
Double_t  bx,
Double_t  ny,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [virtual]

virtual Double_t TF2::CentralMoment2 ( Double_t  nx,
Double_t  ax,
Double_t  bx,
Double_t  ny,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [virtual]

virtual Double_t TF2::Mean2X ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [inline, virtual]

Definition at line 123 of file TF2.h.

References RootCsg::epsilon, and Moment2().

virtual Double_t TF2::Mean2Y ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [inline, virtual]

Definition at line 124 of file TF2.h.

References RootCsg::epsilon, and Moment2().

virtual Double_t TF2::Variance2X ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [inline, virtual]

Definition at line 126 of file TF2.h.

References CentralMoment2(), and RootCsg::epsilon.

virtual Double_t TF2::Variance2Y ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [inline, virtual]

Definition at line 127 of file TF2.h.

References CentralMoment2(), and RootCsg::epsilon.

virtual Double_t TF2::Covariance2XY ( Double_t  ax,
Double_t  bx,
Double_t  ay,
Double_t  by,
Double_t  epsilon = 0.000001 
) [inline, virtual]

Definition at line 129 of file TF2.h.

References CentralMoment2(), and RootCsg::epsilon.


Member Data Documentation

Double_t TF2::fYmin [protected]

Definition at line 36 of file TF2.h.

Referenced by Copy(), TF3::CreateHistogram(), CreateHistogram(), DistancetoPrimitive(), GetMinimumXY(), TF3::GetMinimumXYZ(), GetObjectInfo(), GetRandom2(), TF3::GetRandom3(), GetRange(), TF3::GetRange(), GetYmin(), TF3::IsInside(), IsInside(), Paint(), TF3::Paint(), TF3::Save(), Save(), SavePrimitive(), TF3::SavePrimitive(), TF3::SetClippingBoxOff(), TF3::SetClippingBoxOn(), TF3::SetRange(), SetRange(), and TF2().

Double_t TF2::fYmax [protected]

Definition at line 37 of file TF2.h.

Referenced by Copy(), TF3::CreateHistogram(), CreateHistogram(), DistancetoPrimitive(), GetMinimumXY(), TF3::GetMinimumXYZ(), GetObjectInfo(), GetRandom2(), TF3::GetRandom3(), GetRange(), TF3::GetRange(), GetYmax(), TF3::IsInside(), IsInside(), Paint(), TF3::Paint(), TF3::Save(), Save(), SavePrimitive(), TF3::SavePrimitive(), TF3::SetClippingBoxOff(), TF3::SetClippingBoxOn(), TF3::SetRange(), SetRange(), and TF2().

Int_t TF2::fNpy [protected]

Definition at line 38 of file TF2.h.

Referenced by Copy(), TF3::CreateHistogram(), CreateHistogram(), GetMinimumXY(), TF3::GetMinimumXYZ(), GetNpy(), GetRandom2(), TF3::GetRandom3(), Integral(), TF3::Integral(), Paint(), TF3::Paint(), TF3::Save(), Save(), TF3::SetClippingBoxOff(), TF3::SetClippingBoxOn(), SetNpy(), and TF2().

TArrayD TF2::fContour [protected]

Definition at line 39 of file TF2.h.

Referenced by Copy(), CreateHistogram(), GetContour(), GetContourLevel(), Paint(), SetContour(), SetContourLevel(), and TF2().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:37:27 2011 for ROOT_528-00b_version by  doxygen 1.5.1