ROOT  6.06/09
Reference Guide
Classes | Functions
TMath Namespace Reference

Classes

struct  Limits
 

Functions

Short_t Abs (Short_t d)
 
Int_t Abs (Int_t d)
 
Long_t Abs (Long_t d)
 
Long64_t Abs (Long64_t d)
 
Float_t Abs (Float_t d)
 
Double_t Abs (Double_t d)
 
LongDouble_t Abs (LongDouble_t d)
 
Bool_t Even (Long_t a)
 
Bool_t Odd (Long_t a)
 
template<typename Integer >
Bool_t SignBit (Integer a)
 
Bool_t SignBit (Float_t a)
 
Bool_t SignBit (Double_t a)
 
Bool_t SignBit (LongDouble_t a)
 
template<typename T1 , typename T2 >
T1 Sign (T1 a, T2 b)
 
Float_t Sign (Float_t a, Float_t b)
 
Double_t Sign (Double_t a, Double_t b)
 
LongDouble_t Sign (LongDouble_t a, LongDouble_t b)
 
Short_t Min (Short_t a, Short_t b)
 
UShort_t Min (UShort_t a, UShort_t b)
 
Int_t Min (Int_t a, Int_t b)
 
UInt_t Min (UInt_t a, UInt_t b)
 
Long_t Min (Long_t a, Long_t b)
 
ULong_t Min (ULong_t a, ULong_t b)
 
Long64_t Min (Long64_t a, Long64_t b)
 
ULong64_t Min (ULong64_t a, ULong64_t b)
 
Float_t Min (Float_t a, Float_t b)
 
Double_t Min (Double_t a, Double_t b)
 
Short_t Max (Short_t a, Short_t b)
 
UShort_t Max (UShort_t a, UShort_t b)
 
Int_t Max (Int_t a, Int_t b)
 
UInt_t Max (UInt_t a, UInt_t b)
 
Long_t Max (Long_t a, Long_t b)
 
ULong_t Max (ULong_t a, ULong_t b)
 
Long64_t Max (Long64_t a, Long64_t b)
 
ULong64_t Max (ULong64_t a, ULong64_t b)
 
Float_t Max (Float_t a, Float_t b)
 
Double_t Max (Double_t a, Double_t b)
 
Short_t Range (Short_t lb, Short_t ub, Short_t x)
 
Int_t Range (Int_t lb, Int_t ub, Int_t x)
 
Long_t Range (Long_t lb, Long_t ub, Long_t x)
 
ULong_t Range (ULong_t lb, ULong_t ub, ULong_t x)
 
Double_t Range (Double_t lb, Double_t ub, Double_t x)
 
Long_t NextPrime (Long_t x)
 TMath Base functions. More...
 
Double_t Pi ()
 
Double_t TwoPi ()
 
Double_t PiOver2 ()
 
Double_t PiOver4 ()
 
Double_t InvPi ()
 
Double_t RadToDeg ()
 
Double_t DegToRad ()
 
Double_t Sqrt2 ()
 
Double_t E ()
 
Double_t Ln10 ()
 
Double_t LogE ()
 
Double_t C ()
 
Double_t Ccgs ()
 
Double_t CUncertainty ()
 
Double_t G ()
 
Double_t Gcgs ()
 
Double_t GUncertainty ()
 
Double_t GhbarC ()
 
Double_t GhbarCUncertainty ()
 
Double_t Gn ()
 
Double_t GnUncertainty ()
 
Double_t H ()
 
Double_t Hcgs ()
 
Double_t HUncertainty ()
 
Double_t Hbar ()
 
Double_t Hbarcgs ()
 
Double_t HbarUncertainty ()
 
Double_t HC ()
 
Double_t HCcgs ()
 
Double_t K ()
 
Double_t Kcgs ()
 
Double_t KUncertainty ()
 
Double_t Sigma ()
 
Double_t SigmaUncertainty ()
 
Double_t Na ()
 
Double_t NaUncertainty ()
 
Double_t R ()
 
Double_t RUncertainty ()
 
Double_t MWair ()
 
Double_t Rgair ()
 
Double_t EulerGamma ()
 
Double_t Qe ()
 
Double_t QeUncertainty ()
 
Double_t Sin (Double_t)
 
Double_t Cos (Double_t)
 
Double_t Tan (Double_t)
 
Double_t SinH (Double_t)
 
Double_t CosH (Double_t)
 
Double_t TanH (Double_t)
 
Double_t ASin (Double_t)
 
Double_t ACos (Double_t)
 
Double_t ATan (Double_t)
 
Double_t ATan2 (Double_t, Double_t)
 
Double_t ASinH (Double_t)
 
Double_t ACosH (Double_t)
 
Double_t ATanH (Double_t)
 
Double_t Hypot (Double_t x, Double_t y)
 
Double_t Ceil (Double_t x)
 
Int_t CeilNint (Double_t x)
 
Double_t Floor (Double_t x)
 
Int_t FloorNint (Double_t x)
 
template<typename T >
Int_t Nint (T x)
 
Double_t Sq (Double_t x)
 
Double_t Sqrt (Double_t x)
 
Double_t Exp (Double_t x)
 
Double_t Ldexp (Double_t x, Int_t exp)
 
Double_t Factorial (Int_t i)
 Compute factorial(n). More...
 
LongDouble_t Power (LongDouble_t x, LongDouble_t y)
 
LongDouble_t Power (LongDouble_t x, Long64_t y)
 
LongDouble_t Power (Long64_t x, Long64_t y)
 
Double_t Power (Double_t x, Double_t y)
 
Double_t Power (Double_t x, Int_t y)
 
Double_t Log (Double_t x)
 
Double_t Log2 (Double_t x)
 
Double_t Log10 (Double_t x)
 
Int_t Finite (Double_t x)
 
Int_t IsNaN (Double_t x)
 
Double_t QuietNaN ()
 
Double_t SignalingNaN ()
 
Double_t Infinity ()
 
Long_t Hypot (Long_t x, Long_t y)
 
Bool_t AreEqualAbs (Double_t af, Double_t bf, Double_t epsilon)
 
Bool_t AreEqualRel (Double_t af, Double_t bf, Double_t relPrec)
 
template<typename T >
MinElement (Long64_t n, const T *a)
 
template<typename T >
MaxElement (Long64_t n, const T *a)
 
template<typename T >
Long64_t LocMin (Long64_t n, const T *a)
 
template<typename Iterator >
Iterator LocMin (Iterator first, Iterator last)
 
template<typename T >
Long64_t LocMax (Long64_t n, const T *a)
 
template<typename Iterator >
Iterator LocMax (Iterator first, Iterator last)
 
template<typename T >
Long64_t BinarySearch (Long64_t n, const T *array, T value)
 
template<typename T >
Long64_t BinarySearch (Long64_t n, const T **array, T value)
 
template<typename Iterator , typename Element >
Iterator BinarySearch (Iterator first, Iterator last, Element value)
 
ULong_t Hash (const void *txt, Int_t ntxt)
 Calculates hash index from any char string. More...
 
ULong_t Hash (const char *str)
 Return a case-sensitive hash value (endian independent). More...
 
template<typename Element , typename Index >
void Sort (Index n, const Element *a, Index *index, Bool_t down=kTRUE)
 
template<typename Iterator , typename IndexIterator >
void SortItr (Iterator first, Iterator last, IndexIterator index, Bool_t down=kTRUE)
 
void BubbleHigh (Int_t Narr, Double_t *arr1, Int_t *arr2)
 Bubble sort variant to obtain the order of an array's elements into an index in order to do more useful things than the standard built in functions. More...
 
void BubbleLow (Int_t Narr, Double_t *arr1, Int_t *arr2)
 Opposite ordering of the array arr2[] to that of BubbleHigh. More...
 
Bool_t Permute (Int_t n, Int_t *a)
 Simple recursive algorithm to find the permutations of n natural numbers, not necessarily all distinct adapted from CERNLIB routine PERMU. More...
 
void Quantiles (Int_t n, Int_t nprob, Double_t *x, Double_t *quantiles, Double_t *prob, Bool_t isSorted=kTRUE, Int_t *index=0, Int_t type=7)
 Computes sample quantiles, corresponding to the given probabilities Parameters: x -the data sample n - its size quantiles - computed quantiles are returned in there prob - probabilities where to compute quantiles nprob - size of prob array isSorted - is the input array x sorted? NOTE, that when the input is not sorted, an array of integers of size n needs to be allocated. More...
 
template<typename T >
Bool_t IsInside (T xp, T yp, Int_t np, T *x, T *y)
 
template<typename T >
T * Cross (const T v1[3], const T v2[3], T out[3])
 
Float_t Normalize (Float_t v[3])
 Normalize a vector v in place. More...
 
Double_t Normalize (Double_t v[3])
 Normalize a vector v in place. More...
 
template<typename T >
NormCross (const T v1[3], const T v2[3], T out[3])
 
template<typename T >
T * Normal2Plane (const T v1[3], const T v2[3], const T v3[3], T normal[3])
 
Bool_t RootsCubic (const Double_t coef[4], Double_t &a, Double_t &b, Double_t &c)
 Calculates roots of polynomial of 3rd order a*x^3 + b*x^2 + c*x + d, where a == coef[3], b == coef[2], c == coef[1], d == coef[0] coef[3] must be different from 0 If the boolean returned by the method is false: ==> there are 3 real roots a,b,c If the boolean returned by the method is true: ==> there is one real root a and 2 complex conjugates roots (b+i*c,b-i*c) Author: Francois-Xavier Gentit. More...
 
Double_t Binomial (Int_t n, Int_t k)
 Calculate the binomial coefficient n over k. More...
 
Double_t BinomialI (Double_t p, Int_t n, Int_t k)
 Suppose an event occurs with probability p per trial Then the probability P of its occuring k or more times in n trials is termed a cumulative binomial probability the formula is P = sum_from_j=k_to_n(TMath::Binomial(n, j)* *TMath::Power(p, j)*TMathPower(1-p, n-j) For n larger than 12 BetaIncomplete is a much better way to evaluate the sum than would be the straightforward sum calculation for n smaller than 12 either method is acceptable ("Numerical Recipes") –implementation by Anna Kreshuk. More...
 
Double_t BreitWigner (Double_t x, Double_t mean=0, Double_t gamma=1)
 Calculate a Breit Wigner function with mean and gamma. More...
 
Double_t CauchyDist (Double_t x, Double_t t=0, Double_t s=1)
 Computes the density of Cauchy distribution at point x by default, standard Cauchy distribution is used (t=0, s=1) t is the location parameter s is the scale parameter The Cauchy distribution, also called Lorentzian distribution, is a continuous distribution describing resonance behavior The mean and standard deviation of the Cauchy distribution are undefined. More...
 
Double_t ChisquareQuantile (Double_t p, Double_t ndf)
 Evaluate the quantiles of the chi-squared probability distribution function. More...
 
Double_t FDist (Double_t F, Double_t N, Double_t M)
 Computes the density function of F-distribution (probability function, integral of density, is computed in FDistI). More...
 
Double_t FDistI (Double_t F, Double_t N, Double_t M)
 Calculates the cumulative distribution function of F-distribution, this function occurs in the statistical test of whether two observed samples have the same variance. More...
 
Double_t Gaus (Double_t x, Double_t mean=0, Double_t sigma=1, Bool_t norm=kFALSE)
 Calculate a gaussian function with mean and sigma. More...
 
Double_t KolmogorovProb (Double_t z)
 Calculates the Kolmogorov distribution function, Begin_Html. More...
 
Double_t KolmogorovTest (Int_t na, const Double_t *a, Int_t nb, const Double_t *b, Option_t *option)
 Statistical test whether two one-dimensional sets of points are compatible with coming from the same parent distribution, using the Kolmogorov test. More...
 
Double_t Landau (Double_t x, Double_t mpv=0, Double_t sigma=1, Bool_t norm=kFALSE)
 The LANDAU function. More...
 
Double_t LandauI (Double_t x)
 Returns the value of the Landau distribution function at point x. More...
 
Double_t LaplaceDist (Double_t x, Double_t alpha=0, Double_t beta=1)
 Computes the probability density function of Laplace distribution at point x, with location parameter alpha and shape parameter beta. More...
 
Double_t LaplaceDistI (Double_t x, Double_t alpha=0, Double_t beta=1)
 Computes the distribution function of Laplace distribution at point x, with location parameter alpha and shape parameter beta. More...
 
Double_t LogNormal (Double_t x, Double_t sigma, Double_t theta=0, Double_t m=1)
 Computes the density of LogNormal distribution at point x. More...
 
Double_t NormQuantile (Double_t p)
 Computes quantiles for standard normal distribution N(0, 1) at probability p ALGORITHM AS241 APPL. More...
 
Double_t Poisson (Double_t x, Double_t par)
 compute the Poisson distribution function for (x,par) The Poisson PDF is implemented by means of Euler's Gamma-function (for the factorial), so for any x integer argument it is correct. More...
 
Double_t PoissonI (Double_t x, Double_t par)
 compute the Poisson distribution function for (x,par) This is a non-smooth function. More...
 
Double_t Prob (Double_t chi2, Int_t ndf)
 Computation of the probability for a certain Chi-squared (chi2) and number of degrees of freedom (ndf). More...
 
Double_t Student (Double_t T, Double_t ndf)
 Computes density function for Student's t- distribution (the probability function (integral of density) is computed in StudentI). More...
 
Double_t StudentI (Double_t T, Double_t ndf)
 Calculates the cumulative distribution function of Student's t-distribution second parameter stands for number of degrees of freedom, not for the number of samples if x has Student's t-distribution, the function returns the probability of x being less than T. More...
 
Double_t StudentQuantile (Double_t p, Double_t ndf, Bool_t lower_tail=kTRUE)
 Computes quantiles of the Student's t-distribution 1st argument is the probability, at which the quantile is computed 2nd argument - the number of degrees of freedom of the Student distribution When the 3rd argument lower_tail is kTRUE (default)- the algorithm returns such x0, that P(x < x0)=p upper tail (lower_tail is kFALSE)- the algorithm returns such x0, that P(x > x0)=p the algorithm was taken from G.W.Hill, "Algorithm 396, Student's t-quantiles" "Communications of the ACM", 13(10), October 1970. More...
 
Double_t Vavilov (Double_t x, Double_t kappa, Double_t beta2)
 Returns the value of the Vavilov density function Parameters: 1st - the point were the density function is evaluated 2nd - value of kappa (distribution parameter) 3rd - value of beta2 (distribution parameter) The algorithm was taken from the CernLib function vavden(G115) Reference: A.Rotondi and P.Montagna, Fast Calculation of Vavilov distribution Nucl.Instr. More...
 
Double_t VavilovI (Double_t x, Double_t kappa, Double_t beta2)
 Returns the value of the Vavilov distribution function Parameters: 1st - the point were the density function is evaluated 2nd - value of kappa (distribution parameter) 3rd - value of beta2 (distribution parameter) The algorithm was taken from the CernLib function vavden(G115) Reference: A.Rotondi and P.Montagna, Fast Calculation of Vavilov distribution Nucl.Instr. More...
 
Double_t Voigt (Double_t x, Double_t sigma, Double_t lg, Int_t r=4)
 Computation of Voigt function (normalised). More...
 
template<typename T >
Double_t Mean (Long64_t n, const T *a, const Double_t *w=0)
 
template<typename Iterator >
Double_t Mean (Iterator first, Iterator last)
 
template<typename Iterator , typename WeightIterator >
Double_t Mean (Iterator first, Iterator last, WeightIterator wfirst)
 
template<typename T >
Double_t GeomMean (Long64_t n, const T *a)
 
template<typename Iterator >
Double_t GeomMean (Iterator first, Iterator last)
 
template<typename T >
Double_t RMS (Long64_t n, const T *a, const Double_t *w=0)
 
template<typename Iterator >
Double_t RMS (Iterator first, Iterator last)
 
template<typename Iterator , typename WeightIterator >
Double_t RMS (Iterator first, Iterator last, WeightIterator wfirst)
 
template<typename T >
Double_t StdDev (Long64_t n, const T *a, const Double_t *w=0)
 
template<typename Iterator >
Double_t StdDev (Iterator first, Iterator last)
 
template<typename Iterator , typename WeightIterator >
Double_t StdDev (Iterator first, Iterator last, WeightIterator wfirst)
 
template<typename T >
Double_t Median (Long64_t n, const T *a, const Double_t *w=0, Long64_t *work=0)
 
template<class Element , typename Size >
Element KOrdStat (Size n, const Element *a, Size k, Size *work=0)
 
Double_t Beta (Double_t p, Double_t q)
 Calculates Beta-function Gamma(p)*Gamma(q)/Gamma(p+q). More...
 
Double_t BetaCf (Double_t x, Double_t a, Double_t b)
 Continued fraction evaluation by modified Lentz's method used in calculation of incomplete Beta function. More...
 
Double_t BetaDist (Double_t x, Double_t p, Double_t q)
 Computes the probability density function of the Beta distribution (the distribution function is computed in BetaDistI). More...
 
Double_t BetaDistI (Double_t x, Double_t p, Double_t q)
 Computes the distribution function of the Beta distribution. More...
 
Double_t BetaIncomplete (Double_t x, Double_t a, Double_t b)
 Calculates the incomplete Beta-function. More...
 
Double_t BesselI (Int_t n, Double_t x)
 Compute the Integer Order Modified Bessel function I_n(x) for n=0,1,2,... More...
 
Double_t BesselK (Int_t n, Double_t x)
 Compute the Integer Order Modified Bessel function K_n(x) for n=0,1,2,... More...
 
Double_t BesselI0 (Double_t x)
 Compute the modified Bessel function I_0(x) for any real x. More...
 
Double_t BesselK0 (Double_t x)
 Compute the modified Bessel function K_0(x) for positive real x. More...
 
Double_t BesselI1 (Double_t x)
 Compute the modified Bessel function I_1(x) for any real x. More...
 
Double_t BesselK1 (Double_t x)
 Compute the modified Bessel function K_1(x) for positive real x. More...
 
Double_t BesselJ0 (Double_t x)
 Returns the Bessel function J0(x) for any real x. More...
 
Double_t BesselJ1 (Double_t x)
 Returns the Bessel function J1(x) for any real x. More...
 
Double_t BesselY0 (Double_t x)
 Returns the Bessel function Y0(x) for positive x. More...
 
Double_t BesselY1 (Double_t x)
 Returns the Bessel function Y1(x) for positive x. More...
 
Double_t StruveH0 (Double_t x)
 Struve Functions of Order 0. More...
 
Double_t StruveH1 (Double_t x)
 Struve Functions of Order 1. More...
 
Double_t StruveL0 (Double_t x)
 Modified Struve Function of Order 0. More...
 
Double_t StruveL1 (Double_t x)
 Modified Struve Function of Order 1. More...
 
Double_t DiLog (Double_t x)
 The DiLogarithm function Code translated by R.Brun from CERNLIB DILOG function C332. More...
 
Double_t Erf (Double_t x)
 Computation of the error function erf(x). More...
 
Double_t ErfInverse (Double_t x)
 returns the inverse error function x must be <-1<x<1 More...
 
Double_t Erfc (Double_t x)
 Compute the complementary error function erfc(x). More...
 
Double_t ErfcInverse (Double_t x)
 
Double_t Freq (Double_t x)
 Computation of the normal frequency function freq(x). More...
 
Double_t Gamma (Double_t z)
 Computation of gamma(z) for all z. More...
 
Double_t Gamma (Double_t a, Double_t x)
 Computation of the normalized lower incomplete gamma function P(a,x) as defined in the Handbook of Mathematical Functions by Abramowitz and Stegun, formula 6.5.1 on page 260 . More...
 
Double_t GammaDist (Double_t x, Double_t gamma, Double_t mu=0, Double_t beta=1)
 Computes the density function of Gamma distribution at point x. More...
 
Double_t LnGamma (Double_t z)
 Computation of ln[gamma(z)] for all z. More...
 

Function Documentation

Short_t TMath::Abs ( Short_t  d)
inline

Definition at line 110 of file TMathBase.h.

Referenced by TVectorT< Element >::Abs(), TMatrixTBase< Element >::Abs(), TEveRhoZProjection::AcceptSegment(), ACosH(), TMVA::MethodBDT::AdaBoost(), TMVA::MethodBDT::AdaBoostR2(), TProfileHelper::Add(), TH1::Add(), TGeoMixture::AddElement(), TMVA::MethodCuts::AddWeightsXMLTo(), TGaxis::AdjustBinSize(), AlmostEqual(), RooLognormal::analyticalIntegral(), RooNovosibirsk::analyticalIntegral(), TGraphErrors::Apply(), TGraphAsymmErrors::Apply(), TGraphBentErrors::Apply(), TGeoPolygon::Area(), TSpectrumFit::Area(), AreEqualAbs(), AreEqualRel(), ASinH(), TSpectrum::Background(), TGraphSmooth::BDRksmooth(), TGraphSmooth::BDRsmooth(), BesselI(), BesselI0(), BesselI1(), BetaCf(), TCurlyArc::Build(), TMVA::Rule::CalcImportance(), TMVA::RuleEnsemble::CalcLinImportance(), TMVA::DataSetFactory::CalcMinMax(), TGeoSphere::Capacity(), TGeoArb8::Capacity(), TGeoTubeSeg::Capacity(), TGeoConeSeg::Capacity(), cdiv(), TGeoChecker::CheckBoundaryErrors(), TGeoElementRN::CheckDecays(), TEfficiency::CheckEntries(), TGeoChecker::CheckGeometry(), TGeoRotation::CheckMatrix(), TMVA::Tools::CheckSplines(), TH1::Chi2TestX(), ChisquareQuantile(), TAxis::ChooseTimeFormat(), ClassImp(), TPad::Clip(), TMatrixTSparse< Element >::ColNorm(), TMatrixTBase< Element >::ColNorm(), Compare(), RootCsg::compute_classification(), TGeoScaledShape::ComputeBBox(), TGeoPara::ComputeBBox(), TGeoSphere::ComputeBBox(), TGeoPcon::ComputeBBox(), TGeoPgon::ComputeBBox(), TMVA::MethodCuts::ComputeEstimator(), TGeoEltu::ComputeNormal(), TGeoTube::ComputeNormal(), TGeoTrd1::ComputeNormal(), TGeoBBox::ComputeNormal(), TGeoTrd2::ComputeNormal(), TGeoCone::ComputeNormal(), TGeoPara::ComputeNormal(), TGeoParaboloid::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoPcon::ComputeNormal(), TGeoArb8::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoHype::ComputeNormal(), TGeoTubeSeg::ComputeNormal(), TGeoConeSeg::ComputeNormal(), TGeoCtub::ComputeNormal(), TGeoCone::ComputeNormalS(), TGeoTubeSeg::ComputeNormalS(), TGeoConeSeg::ComputeNormalS(), TGeoHelix::ComputeSafeStep(), TLinearFitter::ComputeTValues(), TGeoArb8::ComputeTwist(), TGeoEltu::Contains(), TGeoTrd2::Contains(), TGeoTrd1::Contains(), TGeoBBox::Contains(), TGeoTube::Contains(), TGeoPara::Contains(), TGeoParaboloid::Contains(), TGeoCone::Contains(), TGeoArb8::Contains(), TGeoHype::Contains(), TGeoXtru::Contains(), TPythia6Decayer::CountProducts(), TRobustEstimator::CreateOrtSubset(), TMVA::MethodLD::CreateRanking(), TMVA::MethodANNBase::CreateRanking(), TGeoNavigator::CrossBoundaryAndLocate(), TEveCaloDataVec::DataChanged(), TEveCaloDataHist::DataChanged(), TDecompBK::Decompose(), TDecompLU::DecomposeLUCrout(), TDecompLU::DecomposeLUGauss(), DefAplGivens(), DefGivens(), DefHouseHolder(), TMixture::DefineElement(), TPainter3dAlgorithms::DefineGridLevels(), TGeoXtru::DefinePolygon(), TQpSolverBase::DefStatus(), TSpectrum2Fit::Deramp2(), TSpectrum2Fit::Derampx(), TSpectrum2Fit::Derbx(), TSpectrum2Fit::Derby(), TSpectrum2Fit::Derderi01(), TSpectrum2Fit::Derderi02(), TSpectrum2Fit::Derderj02(), TSpectrumFit::Derdersigma(), TSpectrum2Fit::Derdersigmax(), TSpectrum2Fit::Derdersigmay(), TSpectrumFit::Derfc(), TSpectrum2Fit::Derfc(), TSpectrum2Fit::Deri01(), TSpectrum2Fit::Deri02(), TFumili::Derivatives(), TSpectrum2Fit::Derj02(), TSpectrumFit::Derpa(), TSpectrumFit::Derpb(), TSpectrumFit::Derpsigma(), TSpectrumFit::Derpt(), TSpectrum2Fit::Derro(), TSpectrumFit::Dersigma(), TSpectrum2Fit::Dersigmax(), TSpectrum2Fit::Dersigmay(), TSpectrum2Fit::Dertx(), TSpectrum2Fit::Dertxy(), TSpectrum2Fit::Derty(), TMVA::ResultsRegression::DeviationAsAFunctionOf(), TDecompSVD::Diagonalize(), TDecompBase::DiagProd(), DIntToStr(), TKDTree< Index, Value >::Distance(), TPoints3DABC::DistancetoLine(), TAttLine::DistancetoLine(), TKDTree< Index, Value >::DistanceToNode(), TCrown::DistancetoPrimitive(), TCurlyArc::DistancetoPrimitive(), TPolyMarker::DistancetoPrimitive(), TPolyLine::DistancetoPrimitive(), TEllipse::DistancetoPrimitive(), THistPainter::DistancetoPrimitive(), TBox::DistancetoPrimitive(), TParallelCoordVar::DistancetoPrimitive(), TGraphPolargram::DistancetoPrimitive(), TPad::DistancetoPrimitive(), TF1::DistancetoPrimitive(), TGraphPainter::DistancetoPrimitiveHelper(), TPie::DistancetoSlice(), TGeoEltu::DistFromInside(), TGeoHalfSpace::DistFromInside(), TGeoSphere::DistFromInside(), TGeoArb8::DistFromInside(), TGeoPgon::DistFromInside(), TGeoCtub::DistFromInside(), TGeoTube::DistFromInsideS(), TGeoCone::DistFromInsideS(), TGeoTubeSeg::DistFromInsideS(), TGeoConeSeg::DistFromInsideS(), TGeoEltu::DistFromOutside(), TGeoHalfSpace::DistFromOutside(), TGeoTrd1::DistFromOutside(), TGeoTrd2::DistFromOutside(), TGeoPara::DistFromOutside(), TGeoBBox::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoParaboloid::DistFromOutside(), TGeoTorus::DistFromOutside(), TGeoArb8::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoHype::DistFromOutside(), TGeoTrap::DistFromOutside(), TGeoCtub::DistFromOutside(), TGeoTube::DistFromOutsideS(), TGeoCone::DistFromOutsideS(), TGeoTubeSeg::DistFromOutsideS(), TGeoConeSeg::DistFromOutsideS(), TGeoCone::DistToCone(), TGeoHype::DistToHype(), TGeoParaboloid::DistToParaboloid(), TGeoArb8::DistToPlane(), TGraphAsymmErrors::Divide(), TProfile::Divide(), TProfile2D::Divide(), TProfile3D::Divide(), TH1::Divide(), THnBase::Divide(), TGeoParaEditor::DoAlpha(), TGeoTrapEditor::DoAlpha1(), TGeoPgonEditor::DoApply(), TGeoPconEditor::DoApply(), TH1Editor::DoBinLabel(), TH2Editor::DoBinLabel(), TGeoHypeEditor::DoDz(), TGraphEditor::DoGraphLineWidth(), TAttLineEditor::DoLineWidth(), DoOldMinimization(), TFitParametersDialog::DoParBound(), TGeoPconEditor::DoPhi(), TH3::DoProject1D(), TH3::DoProject2D(), TH2::DoProjection(), TGTextEntry::DoRedraw(), TFitParametersDialog::DoReset(), TMultiLayerPerceptron::Draw(), Rgl::Draw2DAxis(), TMVA::draw_network(), TMVA::draw_synapse(), TImageDump::DrawBox(), TPadPainter::DrawBox(), TASImage::DrawBox(), TGX11::DrawBox(), TGWin32::DrawBox(), TASImage::DrawDashZLine(), TASImage::DrawDashZTLine(), TGLPadPainter::DrawGradient(), TASImage::DrawLineInternal(), TH1::DrawNormalized(), TGLVoxelPainter::DrawPlot(), TGLBoxPainter::DrawPlot(), TGLTH3CompositionPainter::DrawPlot(), TImageDump::DrawPolyMarker(), TImageDump::DrawPS(), TTeXDump::DrawPS(), TGL5DPainter::DrawSubCloud(), TNeuron::DSigmoid(), TCreatePrimitives::Ellipse(), TGLFaceSet::Eq(), TSpectrumFit::Erfc(), TSpectrum2Fit::Erfc(), ErfInverse(), TMVA::RuleFitParams::ErrorRateBin(), TMVA::RuleFitParams::ErrorRateReg(), TMVA::RuleFitParams::ErrorRateRocRaw(), TParticle::Eta(), TEveCaloData::EtaToTheta(), TH1::Eval(), TTreeFormula::EvalInstance(), TLinearFitter::EvalRobust(), RooLognormal::evaluate(), RooBifurGauss::evaluate(), RooNovosibirsk::evaluate(), RooBukinPdf::evaluate(), TRobustEstimator::Evaluate(), TRobustEstimator::Exact(), TDiamond::ExecuteEvent(), TCurlyArc::ExecuteEvent(), TSliderBox::ExecuteEvent(), TCurlyLine::ExecuteEvent(), TAxis3D::ExecuteEvent(), TText::ExecuteEvent(), TPolyLine::ExecuteEvent(), THistPainter::ExecuteEvent(), TEllipse::ExecuteEvent(), TBox::ExecuteEvent(), TParallelCoordVar::ExecuteEvent(), TASImage::ExecuteEvent(), TGraphPolargram::ExecuteEvent(), TPad::ExecuteEvent(), TGraphPainter::ExecuteEventHelper(), TGDMLWrite::ExtractVolumes(), TDecompSparse::Factor(), TDecompSparse::Factor_sub2(), TASPluginGS::File2ASImage(), RooFitResult::fillCorrMatrix(), TEveProjectionAxesGL::FilterOverlappingLabels(), TGraphDelaunay::FindAllTriangles(), TKDTree< Index, Value >::FindBNodeA(), THelix::FindClosestPhase(), TImagePalette::FindColor(), TEveShape::FindConvexHull(), TGContainer::FindFrame(), TGeoNavigator::FindNextBoundary(), TGeoPatternX::FindNextBoundary(), TGeoPatternY::FindNextBoundary(), TGeoPatternZ::FindNextBoundary(), TView3D::FindPhiSectors(), TFractionFitter::FindPrediction(), TView3D::FindThetaSectors(), TBinomialEfficiencyFitter::Fit(), TSpectrumFit::FitAwmi(), TSpectrum2Fit::FitAwmi(), TSpectrumFit::FitStiefel(), TSpectrum2Fit::FitStiefel(), Freq(), TASImage::FromPad(), RootCsg::fuzzy_zero(), RootCsg::fuzzy_zero2(), TRandom::Gaus(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::GausACR(), GaussIntegral(), RooBMixDecay::generateEvent(), RooBDecay::generateEvent(), RooNonCPEigenDecay::generateEvent(), TMakeProject::GenerateIncludeForTemplate(), TMVA::SimulatedAnnealing::GenerateMaxTemperature(), TMVA::SimulatedAnnealing::GenerateNeighbour(), GeomMean(), TGeoRotation::GetAngles(), ROOT::Quartz::TextLine::GetAscentDescent(), TCurlyArc::GetBBox(), TMapFile::GetBestBuffer(), TFile::GetBestBuffer(), TH1K::GetBinContent(), TProfileHelper::GetBinError(), TH2Poly::GetBinError(), TH1::GetBinError(), TH1::GetBinWithContent(), TH2::GetBinWithContent2(), TH3::GetBinWithContent3(), TMathText::GetBoundingBox(), TSPHE::GetBuffer3D(), TColor::GetColor(), TMVA::Tools::GetCorrelationMatrix(), TH2::GetCovariance(), TH3::GetCovariance(), TSVDUnfold::GetD(), TView3D::GetDistancetoAxis(), TH1::GetEffectiveEntries(), TMVA::MethodFisher::GetFisherCoeff(), TMVA::DecisionTree::GetFisherCoefficients(), TGeoPara::GetFittingBox(), TGeoArb8::GetFittingBox(), TGFontPool::GetFontFromAttributes(), TMVA::TNeuronInputAbs::GetInput(), TMVA::MethodLD::GetLDCoeff(), TPythia6Decayer::GetLifetime(), RooStats::SamplingSummaryLookup::GetLookupIndex(), TFoamMaxwt::GetMCeff(), TMVA::MethodBDT::GetMvaValue(), TTreeFormulaManager::GetNdata(), TGeoUnion::GetNpoints(), TGeoIntersection::GetNpoints(), TGeoSubtraction::GetNpoints(), TPaveText::GetObject(), THistPainter::GetObjectInfo(), TGeoNodeMatrix::GetOptimalVoxels(), TPythia6Decayer::GetPartialBranchingRatio(), TGeoPgon::GetPhiCrossList(), TGeoArb8::GetPlaneNormal(), TF1::GetRandom(), TGraph::GetRMS(), TEveTrans::GetRotAngles(), TMVA::MethodPDERS::GetSample(), TMVA::MethodBase::GetSignificance(), GetSignificant(), TMVA::Tools::GetSQRootMatrix(), TH3::GetStats(), TH1::GetStats(), TH1::GetStdDev(), TText::GetTextAscentDescent(), TGNumberEntryField::GetTime(), TMVA::VariableDecorrTransform::GetTransformationStrings(), TEveProjection::GetValForScreenPos(), TPaletteAxis::GetValueColor(), TRotation::GetXPhi(), TRotation::GetXPsi(), TMathText::GetXsize(), TLatex::GetXsize(), TMathText::GetYsize(), TLatex::GetYsize(), TGTable::GotoTableRange(), H1InitGaus(), H1LeastSquareLinearFit(), TDecompBase::Hager(), TTVLVContainer::HandleButton(), TGuiBldDragManager::HandleEvent(), TGFrame::HandleEvent(), TGLEventHandler::HandleMotion(), TGuiBldDragManager::HandleMotion(), TVirtualPacketizer::HandleTimer(), TGTextView::HandleTimer(), TMVA::ConvergenceTest::HasConverged(), TMVA::GeneticAlgorithm::HasConverged(), TProofPlayerRemote::HistoSameAxis(), TPainter3dAlgorithms::ImplicitFunction(), IncreaseDate(), TGNumberEntryField::IncreaseNumber(), IncreaseReal(), TMVA::MethodBDT::InitEventSample(), TMultiGraph::InitGaus(), TGraph::InitGaus(), TMVA::LDA::Initialize(), TDecompSparse::InitPivot_sub2(), TColorWheel::InRectangles(), TGraph::Integral(), TGraphDelaunay::Interpolate(), RootCsg::intersect(), TMatrixTCramerInv::Inv3x3(), TMatrixTSymCramerInv::Inv3x3(), TUnfold::InvertMSparseSymmPos(), TFumili::InvertZ(), TView3D::IsClippedNDC(), TGeoShape::IsCloseToPhi(), TGeoShape::IsCrossingSemiplane(), TMVA::SVWorkingSet::IsDiffSignificant(), TGeoMaterial::IsEq(), TGeoMixture::IsEq(), TGeoSphere::IsOnBoundary(), TPainter3dAlgorithms::IsoSurface(), TEveTrackPropagator::IsOutsideBounds(), TGeoMatrix::IsRotAboutZ(), TGeoVoxelFinder::IsSafeVoxel(), TGeoArb8::IsSamePoint(), TGeoNavigator::IsSamePoint(), TGeoShape::IsSameWithinTolerance(), TGeoShape::IsSegCrossing(), TGeoRotation::IsValid(), TString::Itoa(), KolmogorovProb(), ROOT::Math::GoFTest::KolmogorovSmirnovTest(), TH2::KolmogorovTest(), TH3::KolmogorovTest(), KolmogorovTest(), TH1::KolmogorovTest(), TMVA::MethodPDERS::LanczosFilter(), LaplaceDist(), LaplaceDistI(), TString::LLtoa(), RooNDKeysPdf::loadDataSet(), TGeoScale::LocalToMaster(), TEveTrackPropagator::LoopToBounds(), TGraphSmooth::Lowess(), TGraphSmooth::Lowest(), TGeoChecker::MakeCheckOverlap(), MakeDateNumber(), TMatrixDSymEigen::MakeEigenVectors(), TGLFaderHelper::MakeFadeStep(), TMVA::RuleFitParams::MakeGradientVector(), TMatrixDEigen::MakeHessenBerg(), TPrincipal::MakeHistograms(), TGeoBuilder::MakePara(), TEveCalo2DGL::MakeRhoZCell(), TMatrixDEigen::MakeSchurr(), TMatrixDSymEigen::MakeTridiagonal(), TMVA::RuleFitParams::MakeTstGradientVector(), TPainter3dAlgorithms::MarchingCube(), TPainter3dAlgorithms::MarchingCubeSurfacePenetration(), TGeoScale::MasterToLocal(), TH1::Merge(), TMVA::SimulatedAnnealing::Minimize(), TFumili::Minimize(), MIntToStr(), TMVA::DataSetFactory::MixEvents(), TGeoMCGeometry::Mixture(), TMinuit::mncont(), TMinuit::mncros(), TMinuit::mncuve(), TMinuit::mnderi(), TMinuit::mndxdi(), TMinuit::mneig(), TMinuit::mnerrs(), TMinuit::mngrad(), TMinuit::mnhes1(), TMinuit::mnhess(), TMinuit::mnimpr(), TMinuit::mnlims(), TMinuit::mnline(), TMinuit::mnmatu(), TMinuit::mnmigr(), TMinuit::mnmnot(), TMinuit::mnparm(), TMinuit::mnprin(), TMinuit::mnpsdf(), TMinuit::mnrset(), TMinuit::mnseek(), TMinuit::mnsimp(), TMinuit::mnwerr(), TAttLine::Modify(), TProfile::Multiply(), TGeoBuilder::Node(), TVectorT< Element >::Norm1(), Normalize(), TGeoShape::NormalPhi(), TMatrixTBase< Element >::NormByDiag(), TVectorT< Element >::NormInf(), NormQuantile(), TMVA::MethodPDERS::NormSinc(), TMVA::RuleFit::NormVisHists(), TGContainer::OnAutoScroll(), TMVA::AbsValue::operator()(), TGeoMatrix::operator==(), TGeoChecker::OpProgress(), THLimitsFinder::Optimize(), TMVA::CostComplexityPruneTool::Optimize(), TView3D::PadRange(), TPaveStats::Paint(), TSpectrum2Painter::Paint(), TASPaletteEditor::PaintPalette::Paint(), TPaletteAxis::Paint(), THistPainter::PaintArrows(), THistPainter::PaintAxis(), TAxis3D::PaintAxis(), TGaxis::PaintAxis(), THistPainter::PaintBoxes(), THistPainter::PaintColorLevels(), TGraph2DPainter::PaintContour(), THistPainter::PaintContour(), TGLAxis::PaintGLAxis(), TGraphPainter::PaintGraph(), TGraphPainter::PaintGrapHist(), TGraphPainter::PaintGraphPolar(), TPad::PaintHatches(), THistPainter::PaintHist(), THistPainter::PaintInit(), TLatex::PaintLatex1(), THistPainter::PaintLego(), THistPainter::PaintLegoAxis(), TMathText::PaintMathText(), TPave::PaintPaveArc(), TPaveLabel::PaintPaveLabel(), TPad::PaintPolyMarker(), TGraphPolargram::PaintRadialDivisions(), THistPainter::PaintScatterPlot(), THistPainter::PaintSurface(), THistPainter::PaintTH2PolyColorLevels(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), TFoam::PeekMax(), TMVA::PDEFoam::PeekMax(), TMVA::RuleFitParams::Penalty(), performance(), TGuiBldDragManager::PlaceFrame(), TMVA::TransformationHandler::PlotVariables(), TEveTrackPropagator::PointOverVertex(), TMVA::MethodKNN::PolnKernel(), TEvePolygonSetProjected::PolygonSurfaceXY(), TCreatePrimitives::PolyLine(), TComplex::Power(), TMVA::MethodBDT::PreProcessNegativeEventWeights(), TMultiDimFit::Print(), TMVA::MethodFisher::PrintCoefficients(), TMVA::MethodLD::PrintCoefficients(), TMVA::MethodFDA::ProcessOptions(), TEveRhoZProjection::ProjectPoint(), Quantiles(), TMatrixTSparse< Element >::RandomizePD(), TGeoPainter::Raytrace(), RealToDouble(), RealToStr(), TSVDUnfold::RegularisedSymMatInvert(), TGTextEntry::RemoveText(), TGLCameraOverlay::RenderBar(), TEveCalo3DGL::RenderGridEndCap(), TGX11::RequestLocator(), TGWin32::RequestLocator(), TTreeFormula::ResetDimensions(), TH1::ResetStats(), TGWin32GLManager::ResizeOffScreenDevice(), TX11GLManager::ResizeOffScreenDevice(), TPad::ResizePad(), TMVA::Tools::RMS(), TMVA::ROCCalc::ROCCalc(), TMVA::ROCCalc::Root(), TMVA::RootFinder::Root(), RooTMathReg::RooTMathReg(), RootsCubic(), TRotation::RotateAxes(), TGLCamera::RotateRad(), TMatrixTSparse< Element >::RowNorm(), TMatrixTBase< Element >::RowNorm(), TGeoPgon::Rproj(), TGeoEltu::Safety(), TGeoShapeAssembly::Safety(), TGeoHalfSpace::Safety(), TGeoParallelWorld::Safety(), TGeoTrd1::Safety(), TGeoTrd2::Safety(), TGeoParaboloid::Safety(), TGeoTube::Safety(), TGeoPara::Safety(), TGeoBBox::Safety(), TGeoPgon::Safety(), TGeoArb8::Safety(), TGeoHype::Safety(), TGeoPcon::Safety(), TGeoNavigator::Safety(), TGeoTubeSeg::Safety(), TGeoTrap::Safety(), TGeoCtub::Safety(), TGeoTube::SafetyS(), TGeoTubeSeg::SafetyS(), TGeoHype::SafetyToHype(), TGeoXtru::SafetyToSector(), TGeoPgon::SafetyToSegment(), TGeoPcon::SafetyToSegment(), TGeoChecker::SamplePoints(), TF1::Save(), TAttAxis::SaveAttributes(), TPad::SavePrimitive(), TH1::SavePrimitiveHelp(), TProfileHelper::Scale(), TUnfoldDensity::ScanTau(), TSpectrum3::SearchFast(), TSpectrum3::SearchHighRes(), TSpectrum2::SearchHighRes(), TSpectrum::SearchHighRes(), TGL5DDataSet::SelectPoints(), TGeoRotation::SetAngles(), TCurlyArc::SetBBoxY1(), TCurlyArc::SetBBoxY2(), TGeoBBox::SetBoxDimensions(), TGX11::SetCharacterUp(), TGWin32::SetCharacterUp(), TH1::SetContour(), TGNumberEntryField::SetDate(), TMVA::SimulatedAnnealing::SetDefaultScale(), TGeoBBox::SetDimensions(), TGViewPort::SetHPos(), TVector2::SetMagPhi(), TVector3::SetMagThetaPhi(), TGX11::SetMarkerStyle(), TGWin32::SetMarkerStyle(), TAttLineEditor::SetModel(), TGraphEditor::SetModel(), TTreeViewer::SetNexpressions(), TGNumberEntryField::SetNumber(), TGeoSphere::SetNumberOfDivisions(), TColor::SetPalette(), TGeoParaboloid::SetParaboloidDimensions(), TEfficiency::SetPassedHistogram(), TSPHE::SetPoints(), TVector3::SetPtEtaPhi(), TLorentzVector::SetPtEtaPhiE(), TLorentzVector::SetPtEtaPhiM(), TGeoMaterial::SetRadLen(), THelix::SetRange(), TGeoScale::SetScale(), TGeoSphere::SetSphDimensions(), TGLAxisPainter::SetTextFormat(), TGNumberEntryField::SetTime(), TEfficiency::SetTotalHistogram(), TGViewPort::SetVPos(), TGeoHelix::SetXYcurvature(), TSpectrum2Painter::ShadowColorCalculation(), TSpectrumFit::Shape(), TSpectrum2Fit::Shape2(), TGeoChecker::ShapeDistances(), TMVA::SimulatedAnnealing::ShouldGoIn(), TPad::ShowGuidelines(), TSPHE::Sizeof3D(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), TGraphPainter::Smooth(), TH1::SmoothArray(), TGraphSmooth::SmoothLowess(), TDecompLU::Solve(), TDecompQRH::Solve(), TDecompSparse::Solve(), TDecompSparse::Solve_sub1(), TDecompSparse::Solve_sub2(), TGeoTorus::SolveCubic(), TGeoVoxelFinder::SortAll(), TGeoVoxelFinder::SortCrossedVoxels(), TEveTrackPropagator::Helix_t::Step(), TEveTrackPropagator::StepRungeKutta(), TGeoHelix::StepToPlane(), TSpectrumFit::StiefelInversion(), TSpectrum2Fit::StiefelInversion(), StrInt(), StrToReal(), StruveH0(), StruveH1(), StruveL0(), StruveL1(), TH1::Sumw2(), TTreeFormulaManager::Sync(), THistPainter::TableInit(), TMVA::SVWorkingSet::TakeStep(), TSpline3::Test(), TSpline5::Test(), TestConstr(), TPainter3dAlgorithms::TestEdge(), TestNeighbors(), TestRange(), TMVA::MethodBase::TestRegression(), TGeoElementRN::TGeoElementRN(), TGLMatrix::TGLMatrix(), TGLAxis::TicksPositionsOpt(), ROOT::v5::TMath_GenerInterface(), TMixture::TMixture(), TGeoTorus::ToBoundary(), TMVA::MethodHMatrix::Train(), TMVA::MethodCuts::Train(), TMVA::DecisionTree::TrainNodeFast(), TMVA::DecisionTree::TrainNodeFull(), TH1::TransformHisto(), TranslateToStr(), TDecompLU::TransSolve(), TDecompQRH::TransSolve(), TRotation::TRotation(), TUnfoldDensity::TUnfoldDensity(), TView3D::UnzoomView(), TEveTrackPropagator::Update(), TMakeProject::UpdateAssociativeToVector(), TGLBoundingBox::UpdateCache(), TMVA::RuleFitParams::UpdateCoefficients(), TStyleManager::UpdateEditor(), TGeoHelix::UpdateHelix(), TEveTrackPropagator::Helix_t::UpdateHelix(), TASPaletteEditor::UpdateScreen(), TMVA::RuleFitParams::UpdateTstCoefficients(), TTreeFormulaManager::UpdateUsedSize(), TMVA::PDF::ValidatePDF(), TEveCaloData::CellData_t::Value(), TMVA::VariableInfo::VariableInfo(), VerifyMatrixIdentity(), VerifyMatrixValue(), VerifyVectorIdentity(), VerifyVectorValue(), XRotCreateTextItem(), XRotRetrieveFromCache(), TParticle::Y(), TPainter3dAlgorithms::ZDepth(), TGraph::Zero(), TGeoHype::ZHypeSq(), and TView3D::ZoomView().

Int_t TMath::Abs ( Int_t  d)
inline

Definition at line 113 of file TMathBase.h.

Long_t TMath::Abs ( Long_t  d)
inline

Definition at line 116 of file TMathBase.h.

Long64_t TMath::Abs ( Long64_t  d)
inline

Definition at line 119 of file TMathBase.h.

Float_t TMath::Abs ( Float_t  d)
inline

Definition at line 126 of file TMathBase.h.

Double_t TMath::Abs ( Double_t  d)
inline

Definition at line 129 of file TMathBase.h.

LongDouble_t TMath::Abs ( LongDouble_t  d)
inline

Definition at line 132 of file TMathBase.h.

Referenced by Sign().

Double_t TMath::ACos ( Double_t  x)
inline
Double_t TMath::ACosH ( Double_t  x)
Bool_t TMath::AreEqualAbs ( Double_t  af,
Double_t  bf,
Double_t  epsilon 
)
inline
Bool_t TMath::AreEqualRel ( Double_t  af,
Double_t  bf,
Double_t  relPrec 
)
inline
Double_t TMath::ASin ( Double_t  x)
inline
Double_t TMath::ASinH ( Double_t  x)
Double_t TMath::ATan ( Double_t  x)
inline
Double_t TMath::ATan2 ( Double_t  y,
Double_t  x 
)
inline

Definition at line 454 of file TMath.h.

Referenced by TCurlyLine::Build(), ClassImp(), TGraph::CompareArg(), TGeoCtub::ComputeBBox(), TGeoTube::ComputeNormal(), TGeoCone::ComputeNormal(), TGeoParaboloid::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoTorus::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoHype::ComputeNormal(), TGeoTubeSeg::ComputeNormal(), TGeoConeSeg::ComputeNormal(), TGeoCtub::ComputeNormal(), TGeoTube::ComputeNormalS(), TGeoCone::ComputeNormalS(), TGeoTubeSeg::ComputeNormalS(), TGeoConeSeg::ComputeNormalS(), TGeoSphere::Contains(), TGeoTorus::Contains(), TGeoPcon::Contains(), TGeoPgon::Contains(), TGeoConeSeg::Contains(), TGeoCtub::Contains(), TGDMLWrite::CreateFakeCtub(), TCurlyArc::DistancetoPrimitive(), TPie::DistancetoSlice(), TGeoSphere::DistFromInside(), TGeoSphere::DistFromOutside(), TGeoTorus::DistFromOutside(), TGeoPcon::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoConeSeg::DistToCons(), TGeoHype::DistToHype(), TGeoParaboloid::DistToParaboloid(), TASImage::DrawDashZLine(), TASImage::DrawDashZTLine(), TTreeFormula::EvalInstance(), TPie::ExecuteEvent(), TGeoPatternCylPhi::FindNode(), TGeoPatternSphPhi::FindNode(), TGeoRotation::GetAngles(), TGeoPgon::GetPhiCrossList(), TGeoRotation::GetPhiRotation(), TEveTrans::GetRotAngles(), TGDMLWrite::GetXYZangles(), TColorWheel::InGray(), TGraphDelaunay::InHull(), TGeoShape::IsInPhiRange(), TGeoManager::IsInPhiRange(), TGeoSphere::IsOnBoundary(), TGeoPatternCylPhi::IsOnBoundary(), TGeoPatternSphPhi::IsOnBoundary(), TGeoSphere::IsPointInside(), TGeoPgon::LocatePhi(), TPie::Paint(), TGaxis::PaintAxis(), TEveVectorT< TT >::Phi(), TVector2::Phi(), TVector3::Phi(), TParticle::Phi(), TEveVector2T< TT >::Phi(), TRotation::PhiX(), TRotation::PhiY(), TRotation::PhiZ(), TEveRPhiProjection::ProjectPoint(), TEveBoxSetGL::RenderBoxes(), RooTMathReg::RooTMathReg(), TGLCamera::RotateRad(), TGeoCtubEditor::SetModel(), TGeoParaboloid::SetPoints(), TParticle::SetPolarisation(), THelix::SetRotMatrix(), TGeoTorus::SolveCubic(), TComplex::Theta(), TEveVectorT< TT >::Theta(), TVector3::Theta(), ROOT::v5::TMath_GenerInterface(), and TGeoTorus::ToBoundary().

Double_t TMath::ATanH ( Double_t  x)
Double_t TMath::BesselI ( Int_t  n,
Double_t  x 
)

Compute the Integer Order Modified Bessel function I_n(x) for n=0,1,2,...

and any real x.

— NvE 12-mar-2000 UU-SAP Utrecht

Definition at line 1553 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg().

Double_t TMath::BesselI0 ( Double_t  x)

Compute the modified Bessel function I_0(x) for any real x.

— NvE 12-mar-2000 UU-SAP Utrecht

Definition at line 1389 of file TMath.cxx.

Referenced by BesselI(), BesselK0(), RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::BesselI1 ( Double_t  x)

Compute the modified Bessel function I_1(x) for any real x.

M.Abramowitz and I.A.Stegun, Handbook of Mathematical Functions, Applied Mathematics Series vol. 55 (1964), Washington.

— NvE 12-mar-2000 UU-SAP Utrecht

Definition at line 1457 of file TMath.cxx.

Referenced by BesselI(), BesselK1(), RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::BesselJ0 ( Double_t  x)

Returns the Bessel function J0(x) for any real x.

Definition at line 1597 of file TMath.cxx.

Referenced by BesselY0(), RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::BesselJ1 ( Double_t  x)

Returns the Bessel function J1(x) for any real x.

Definition at line 1632 of file TMath.cxx.

Referenced by BesselY1(), RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::BesselK ( Int_t  n,
Double_t  x 
)

Compute the Integer Order Modified Bessel function K_n(x) for n=0,1,2,...

and positive real x.

— NvE 12-mar-2000 UU-SAP Utrecht

Definition at line 1524 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg().

Double_t TMath::BesselK0 ( Double_t  x)

Compute the modified Bessel function K_0(x) for positive real x.

M.Abramowitz and I.A.Stegun, Handbook of Mathematical Functions, Applied Mathematics Series vol. 55 (1964), Washington.

— NvE 12-mar-2000 UU-SAP Utrecht

Definition at line 1423 of file TMath.cxx.

Referenced by BesselK(), RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::BesselK1 ( Double_t  x)

Compute the modified Bessel function K_1(x) for positive real x.

M.Abramowitz and I.A.Stegun, Handbook of Mathematical Functions, Applied Mathematics Series vol. 55 (1964), Washington.

— NvE 12-mar-2000 UU-SAP Utrecht

Definition at line 1492 of file TMath.cxx.

Referenced by BesselK(), RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::BesselY0 ( Double_t  x)

Returns the Bessel function Y0(x) for positive x.

Definition at line 1668 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), StruveH0(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::BesselY1 ( Double_t  x)

Returns the Bessel function Y1(x) for positive x.

Definition at line 1702 of file TMath.cxx.

Referenced by Functor(), RooTMathReg::RooTMathReg(), StruveH1(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::Beta ( Double_t  p,
Double_t  q 
)

Calculates Beta-function Gamma(p)*Gamma(q)/Gamma(p+q).

Definition at line 1973 of file TMath.cxx.

Referenced by BetaDist(), RooTMathReg::RooTMathReg(), testSpecFuncBeta(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::BetaCf ( Double_t  x,
Double_t  a,
Double_t  b 
)

Continued fraction evaluation by modified Lentz's method used in calculation of incomplete Beta function.

Definition at line 1982 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::BetaDist ( Double_t  x,
Double_t  p,
Double_t  q 
)

Computes the probability density function of the Beta distribution (the distribution function is computed in BetaDistI).

The first argument is the point, where the function will be computed, second and third are the function parameters. Since the Beta distribution is bounded on both sides, it's often used to represent processes with natural lower and upper limits.

Definition at line 2033 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::BetaDistI ( Double_t  x,
Double_t  p,
Double_t  q 
)

Computes the distribution function of the Beta distribution.

The first argument is the point, where the function will be computed, second and third are the function parameters. Since the Beta distribution is bounded on both sides, it's often used to represent processes with natural lower and upper limits.

Definition at line 2051 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::BetaIncomplete ( Double_t  x,
Double_t  a,
Double_t  b 
)
template<typename T >
Long64_t TMath::BinarySearch ( Long64_t  n,
const T *  array,
value 
)

Definition at line 944 of file TMath.h.

Referenced by TFileDrawMap::AnimateTree(), TGeoPcon::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoPgon::Contains(), TGeoXtru::Contains(), TEventList::ContainsRange(), TGeoPcon::DistFromInside(), TGeoPgon::DistFromInside(), TGeoXtru::DistFromInside(), TGeoPcon::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoXtru::DistFromOutside(), TEventList::Enter(), TMVA::TSpline1::Eval(), TMVA::TSpline2::Eval(), TH2::FillRandom(), TH3::FillRandom(), TH1::FillRandom(), TAxis::FindBin(), RooStats::HypoTestInverterResult::FindClosestPointIndex(), TAxis::FindFixBin(), TGeoManager::GetAlignableEntryByUID(), TH1K::GetBinContent(), TGeoVoxelFinder::GetCheckList(), TBranch::GetEntry(), TBranch::GetEntryExport(), TGLFontManager::GetFontSize(), TGeoVoxelFinder::GetIndices(), TGeoBBox::GetPointsOnFacet(), TH1::GetQuantiles(), TF1::GetQuantiles(), THnBase::GetRandom(), TH1::GetRandom(), TF1::GetRandom(), TH2::GetRandom2(), TF2::GetRandom2(), TF3::GetRandom3(), TH3::GetRandom3(), TTreeCacheUnzip::GetUnzipBuffer(), TGeoManager::InsertPNEId(), TMatrixTSparse< Element >::operator()(), TMatrixTSparseRow_const< Element >::operator()(), TMatrixTSparseRow< Element >::operator()(), TMatrixTSparseDiag_const< Element >::operator()(), TMatrixTSparseDiag< Element >::operator()(), THistPainter::PaintContour(), TGeoVoxelFinder::PrintVoxelLimits(), TFileCacheRead::ReadBufferExtNormal(), TFileCacheRead::ReadBufferExtPrefetch(), TGeoPgon::Safety(), TGeoPcon::Safety(), TGeoXtru::Safety(), TEveText::SetFontSize(), TMatrixTSparse< Element >::SetSub(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), stressVector(), TTree::TClusterIterator::TClusterIterator(), testArrayFunctions(), testBinarySearch(), and testIteratorFunctions().

template<typename T >
Long64_t TMath::BinarySearch ( Long64_t  n,
const T **  array,
value 
)

Definition at line 960 of file TMath.h.

template<typename Iterator , typename Element >
Iterator TMath::BinarySearch ( Iterator  first,
Iterator  last,
Element  value 
)

Definition at line 926 of file TMath.h.

Double_t TMath::Binomial ( Int_t  n,
Int_t  k 
)

Calculate the binomial coefficient n over k.

Definition at line 2072 of file TMath.cxx.

Referenced by RooBernstein::analyticalIntegral(), RooBernstein::evaluate(), and RooTMathReg::RooTMathReg().

Double_t TMath::BinomialI ( Double_t  p,
Int_t  n,
Int_t  k 
)

Suppose an event occurs with probability p per trial Then the probability P of its occuring k or more times in n trials is termed a cumulative binomial probability the formula is P = sum_from_j=k_to_n(TMath::Binomial(n, j)* *TMath::Power(p, j)*TMathPower(1-p, n-j) For n larger than 12 BetaIncomplete is a much better way to evaluate the sum than would be the straightforward sum calculation for n smaller than 12 either method is acceptable ("Numerical Recipes") –implementation by Anna Kreshuk.

Definition at line 2097 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg().

Double_t TMath::BreitWigner ( Double_t  x,
Double_t  mean = 0,
Double_t  gamma = 1 
)

Calculate a Breit Wigner function with mean and gamma.

Definition at line 442 of file TMath.cxx.

Referenced by ClassImp(), RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

void TMath::BubbleHigh ( Int_t  Narr,
Double_t arr1,
Int_t arr2 
)

Bubble sort variant to obtain the order of an array's elements into an index in order to do more useful things than the standard built in functions.

*arr1 is unchanged; *arr2 is the array of indicies corresponding to the decending value of arr1 with arr2[0] corresponding to the largest arr1 value and arr2[Narr] the smallest.

Author: Adrian Bevan (bevan.nosp@m.@sla.nosp@m.c.sta.nosp@m.nfor.nosp@m.d.edu)

Definition at line 1277 of file TMath.cxx.

void TMath::BubbleLow ( Int_t  Narr,
Double_t arr1,
Int_t arr2 
)

Opposite ordering of the array arr2[] to that of BubbleHigh.

Author: Adrian Bevan (bevan.nosp@m.@sla.nosp@m.c.sta.nosp@m.nfor.nosp@m.d.edu)

Definition at line 1316 of file TMath.cxx.

Double_t TMath::C ( )
inline

Definition at line 63 of file TMath.h.

Referenced by Ccgs(), TFormula::FillDefaults(), HC(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::CauchyDist ( Double_t  x,
Double_t  t = 0,
Double_t  s = 1 
)

Computes the density of Cauchy distribution at point x by default, standard Cauchy distribution is used (t=0, s=1) t is the location parameter s is the scale parameter The Cauchy distribution, also called Lorentzian distribution, is a continuous distribution describing resonance behavior The mean and standard deviation of the Cauchy distribution are undefined.

The practical meaning of this is that collecting 1,000 data points gives no more accurate an estimate of the mean and standard deviation than does a single point. The formula was taken from "Engineering Statistics Handbook" on site http://www.itl.nist.gov/div898/handbook/eda/section3/eda3663.htm Implementation by Anna Kreshuk. Example: TF1* fc = new TF1("fc", "TMath::CauchyDist(x, [0], [1])", -5, 5); fc->SetParameters(0, 1); fc->Draw();

Definition at line 2125 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::Ccgs ( )
inline

Definition at line 64 of file TMath.h.

Referenced by HCcgs(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::Ceil ( Double_t  x)
inline
Int_t TMath::CeilNint ( Double_t  x)
inline
Double_t TMath::ChisquareQuantile ( Double_t  p,
Double_t  ndf 
)

Evaluate the quantiles of the chi-squared probability distribution function.

Algorithm AS 91 Appl. Statist. (1975) Vol.24, P.35 implemented by Anna Kreshuk. Incorporates the suggested changes in AS R85 (vol.40(1), pp.233-5, 1991) Parameters: p - the probability value, at which the quantile is computed ndf - number of degrees of freedom

Definition at line 2141 of file TMath.cxx.

Referenced by TBackCompFitter::Contour(), RooStats::LikelihoodInterval::FindLimits(), RooStats::LikelihoodInterval::GetContourPoints(), TRolke::Interval(), and RooTMathReg::RooTMathReg().

Double_t TMath::Cos ( Double_t  x)
inline

Definition at line 424 of file TMath.h.

Referenced by TLatex::Analyse(), TTimeStamp::AsGAST(), TView3D::AxisVertex(), TPainter3dAlgorithms::BackBox(), TCurlyLine::Build(), TEveJetCone::CalcBaseVec(), TEveJetCone::CalcEtaPhiVec(), TGeoSphere::Capacity(), TGeoChecker::CheckBoundaryErrors(), TGeoChecker::CheckGeometry(), TGeoChecker::CheckGeometryFull(), TRandom::Circle(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Circle(), ClassImp(), TGeoSphere::ComputeBBox(), TGeoTorus::ComputeBBox(), TGeoPgon::ComputeBBox(), TGeoCtub::ComputeBBox(), TGeoTube::ComputeNormal(), TGeoParaboloid::ComputeNormal(), TGeoPara::ComputeNormal(), TGeoCone::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoTorus::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoHype::ComputeNormal(), TGeoTubeSeg::ComputeNormal(), TGeoConeSeg::ComputeNormal(), TGeoCtub::ComputeNormal(), TGeoTube::ComputeNormalS(), TGeoCone::ComputeNormalS(), TGeoTubeSeg::ComputeNormalS(), TGeoConeSeg::ComputeNormalS(), TGeoPgon::Contains(), TComplex::Cos(), TComplex::CosH(), TGDMLWrite::CreateFakeCtub(), TGeoPatternSphPhi::CreateSinCos(), TView3D::DefinePerspectiveView(), TEllipse::DistancetoPrimitive(), TGraphPolargram::DistancetoPrimitive(), TPie::DistancetoSlice(), TGeoSphere::DistFromInside(), TGeoTorus::DistFromInside(), TGeoPgon::DistFromInside(), TGeoEltu::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoTorus::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoHype::DistToHype(), TGeoParaboloid::DistToParaboloid(), TGeoCtubEditor::DoApply(), TLatex::DrawCircle(), TASImage::DrawDashZLine(), TASImage::DrawDashZTLine(), TPie::DrawGhost(), TGLPadPainter::DrawGradient(), TLatex::DrawLine(), TLatex::DrawParenthesis(), TSpider::DrawPoly(), TSpider::DrawPolyAverage(), TSpectrumTransform::Enhance(), TTreeFormula::EvalInstance(), TCurlyArc::ExecuteEvent(), TText::ExecuteEvent(), TEllipse::ExecuteEvent(), TPie::ExecuteEvent(), TGraphPolargram::ExecuteEvent(), TPGON::FillTableOfCoSin(), TPCON::FillTableOfCoSin(), TSpectrumTransform::FilterZonal(), TView3D::FindPhiSectors(), TView3D::FindThetaSectors(), TSpectrum2Transform::FourCos2(), TSpectrum2Transform::Fourier(), TSpectrumTransform::Fourier(), TPainter3dAlgorithms::FrontBox(), TSpectrum2Transform::General2(), TSpectrumTransform::GeneralExe(), TSpectrum2Transform::GeneralExe(), TSpectrumTransform::GeneralInv(), TSpectrum2Transform::GeneralInv(), TGenPhaseSpace::Generate(), TGeoRotation::GetAngles(), TGeoPgon::GetBoundingCylinder(), TText::GetControlBox(), TGeoPgon::GetPhiCrossList(), TGeoTube::GetPointsOnSegments(), TGeoCone::GetPointsOnSegments(), TGeoTubeSeg::GetPointsOnSegments(), TGeoConeSeg::GetPointsOnSegments(), TParticle::GetPolarisation(), TEveTrans::GetRotAngles(), TGeoMCGeometry::GetShape(), TPainter3dAlgorithms::GouraudFunction(), TGLLegoPainter::InitGeometryCylindrical(), TGLSurfacePainter::InitGeometryCylindrical(), TGLLegoPainter::InitGeometryPolar(), TGLSurfacePainter::InitGeometryPolar(), TGLLegoPainter::InitGeometrySpherical(), TGLSurfacePainter::InitGeometrySpherical(), TGeoTubeSeg::InitTrigonometry(), TGeoConeSeg::InitTrigonometry(), TGeoPgon::IsCrossingSlice(), TPainter3dAlgorithms::LegoCartesian(), TPainter3dAlgorithms::LegoCylindrical(), TGeoChecker::LegoPlot(), TPainter3dAlgorithms::LegoPolar(), TPainter3dAlgorithms::LegoSpherical(), TEveCalo2DGL::MakeRhoZCell(), TEveCalo2DGL::MakeRPhiCell(), TTUBS::MakeTableOfCoSin(), TSPHE::MakeTableOfCoSin(), TTUBE::MakeTableOfCoSin(), TMinuit::mnderi(), TMinuit::mndxdi(), TMinuit::mnprin(), TComplex::operator()(), TCrown::Paint(), TPie::Paint(), TSpider::Paint(), TAxis3D::PaintAxis(), TGaxis::PaintAxis(), TGraphPolargram::PaintCircle(), TEllipse::PaintEllipse(), TGraphPainter::PaintGraphPolar(), TPad::PaintHatches(), THistPainter::PaintLegoAxis(), TPave::PaintPaveArc(), TGraphPolargram::PaintPolarDivisions(), TGraphPainter::PaintPolyLineHatches(), TGraphPolargram::PaintRadialDivisions(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), THistPainter::ProjectAitoff2xy(), THistPainter::ProjectParabolic2xy(), TEveRPhiProjection::ProjectPoint(), TGeoChecker::RandomRays(), TRandom::Rannor(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Rannor(), TGeoPainter::Raytrace(), TEveCalo3DGL::RenderBarrelCell(), TEveCalo3DGL::RenderEndCapCell(), TEveCalo3DGL::RenderGridBarrel(), TEveCalo3DGL::RenderGridEndCap(), TView3D::ResetView(), RooTMathReg::RooTMathReg(), RootsCubic(), TColorWheel::Rotate(), TVector2::Rotate(), TRotation::Rotate(), TGLMatrix::Rotate(), TEveTrans::RotateLF(), TGLMatrix::RotateLF(), TEveTrans::RotatePF(), TGLMatrix::RotatePF(), TGLCamera::RotateRad(), TRotation::RotateX(), TVector3::RotateX(), TGeoRotation::RotateX(), TGeoCombiTrans::RotateX(), TGeoHMatrix::RotateX(), TRotation::RotateY(), TVector3::RotateY(), TGeoRotation::RotateY(), TGeoCombiTrans::RotateY(), TGeoHMatrix::RotateY(), TRotation::RotateZ(), TVector3::RotateZ(), TGeoRotation::RotateZ(), TGeoCombiTrans::RotateZ(), TGeoHMatrix::RotateZ(), TGeoShape::SafetyPhi(), TGeoTubeSeg::SafetyS(), TGeoPgon::SafetyToSegment(), THelix::SavePrimitive(), TRotMatrix::SetAngles(), TGeoRotation::SetAngles(), TGeoPara::SetDimensions(), TGeoPcon::SetDimensions(), TGeoTrap::SetDimensions(), TGeoGtra::SetDimensions(), TVector2::SetMagPhi(), TVector3::SetMagThetaPhi(), TVector3::SetPhi(), TPARA::SetPoints(), TGTRA::SetPoints(), TTRAP::SetPoints(), TGeoEltu::SetPoints(), TMarker3DBox::SetPoints(), TGeoParaboloid::SetPoints(), TGeoTube::SetPoints(), TGeoTorus::SetPoints(), TGeoSphere::SetPoints(), TGeoCone::SetPoints(), TGeoPgon::SetPoints(), TGeoPcon::SetPoints(), TGeoHype::SetPoints(), TGeoTubeSeg::SetPoints(), TGeoConeSeg::SetPoints(), TGeoCtub::SetPoints(), TVector3::SetPtEtaPhi(), TLorentzVector::SetPtEtaPhiE(), TLorentzVector::SetPtEtaPhiM(), TVector3::SetPtThetaPhi(), THelix::SetRange(), TTF::SetRotationMatrix(), TEveTrans::SetRotByAngles(), TVector3::SetTheta(), TEveTrans::SetupRotation(), TGeoChecker::ShapeDistances(), TGeoChecker::ShapeNormal(), TGeoChecker::ShapeSafety(), TPainter3dAlgorithms::SideVisibilityEncode(), TComplex::Sin(), SingularFun(), TComplex::SinH(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), TGeoTorus::SolveCubic(), TGeoHelix::Step(), StudentQuantile(), TPainter3dAlgorithms::SurfaceCartesian(), TPainter3dAlgorithms::SurfaceCylindrical(), TPainter3dAlgorithms::SurfacePolar(), TPainter3dAlgorithms::SurfaceSpherical(), TEvePointSet::TakeAction(), TEvePointSetArray::TakeAction(), TSpline5::Test(), TestDerivative(), TMultiDimFit::TestFunction(), TestIntegral(), TPDF::Text(), TPostScript::Text(), TGeoGtra::TGeoGtra(), TGeoPara::TGeoPara(), TGeoPatternCylPhi::TGeoPatternCylPhi(), TGeoPatternTrapZ::TGeoPatternTrapZ(), TGeoPcon::TGeoPcon(), TGeoTrap::TGeoTrap(), TGLAutoRotator::Timeout(), TGeoChecker::TimingPerVolume(), ROOT::v5::TMath_GenerInterface(), TGeoTorus::ToBoundary(), TSpectrumTransform::Transform(), TEveTrackPropagator::Helix_t::UpdateHelix(), TSpider::UpdateView(), XRotCreateTextItem(), XRotPaintAlignedString(), and XRotTextExtents().

Double_t TMath::CosH ( Double_t  x)
inline
template<typename T >
T * TMath::Cross ( const T  v1[3],
const T  v2[3],
out[3] 
)
Double_t TMath::CUncertainty ( )
inline

Definition at line 65 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::DegToRad ( )
inline

Definition at line 50 of file TMath.h.

Referenced by TGLScenePad::AddHistoPhysical(), TGeoSphere::Capacity(), TGeoPgon::Capacity(), TGeoTubeSeg::Capacity(), TGeoConeSeg::Capacity(), TGeoSphere::ComputeBBox(), TGeoTorus::ComputeBBox(), TGeoPgon::ComputeBBox(), TGeoCtub::ComputeBBox(), TGeoPara::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoTorus::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoPgon::Contains(), TGDMLWrite::CreateFakeCtub(), TGeoPatternSphPhi::CreateSinCos(), TGeoSphere::DistFromInside(), TGeoTorus::DistFromInside(), TGeoPgon::DistFromInside(), TGeoSphere::DistFromOutside(), TGeoTorus::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoHypeEditor::DoApply(), TGeoCtubEditor::DoApply(), TGLViewer::DoDrawStereo(), TGeoHypeEditor::DoDz(), TGeoHypeEditor::DoRin(), TGeoHypeEditor::DoRout(), TGeoHypeEditor::DoStIn(), TGeoHypeEditor::DoStOut(), ROOT::Quartz::TextLine::DrawLine(), TGeoSphere::GetBoundingCylinder(), TGeoPgon::GetBoundingCylinder(), TGeoPgon::GetPhiCrossList(), TGeoTubeSeg::GetPointsOnSegments(), TGeoConeSeg::GetPointsOnSegments(), TGeoMCGeometry::GetShape(), TColorWheel::InCircles(), TGeoTubeSeg::InitTrigonometry(), TGeoConeSeg::InitTrigonometry(), TColorWheel::InRectangles(), TGeoPgon::IsCrossingSlice(), TGeoSphere::IsOnBoundary(), TColorWheel::PaintCircles(), TColorWheel::PaintRectangles(), THistPainter::ProjectAitoff2xy(), THistPainter::ProjectMercator2xy(), THistPainter::ProjectParabolic2xy(), THistPainter::ProjectSinusoidal2xy(), TGeoPainter::Raytrace(), TGeoRotation::RotateX(), TGeoCombiTrans::RotateX(), TGeoHMatrix::RotateX(), TGeoRotation::RotateY(), TGeoCombiTrans::RotateY(), TGeoHMatrix::RotateY(), TGeoRotation::RotateZ(), TGeoCombiTrans::RotateZ(), TGeoHMatrix::RotateZ(), TGeoSphere::Safety(), TGeoShape::SafetyPhi(), TGeoTubeSeg::SafetyS(), TGeoPgon::SafetyToSegment(), TGeoPara::SetDimensions(), TGeoPcon::SetDimensions(), TGeoTrap::SetDimensions(), TGeoGtra::SetDimensions(), TGeoHype::SetHypeDimensions(), TGeoEltu::SetPoints(), TGeoParaboloid::SetPoints(), TGeoTube::SetPoints(), TGeoTorus::SetPoints(), TGeoSphere::SetPoints(), TGeoCone::SetPoints(), TGeoPgon::SetPoints(), TGeoPcon::SetPoints(), TGeoHype::SetPoints(), TGeoTubeSeg::SetPoints(), TGeoConeSeg::SetPoints(), TGeoCtub::SetPoints(), TEveTransSubEditor::SetTransFromData(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), TGeoGtra::TGeoGtra(), TGeoPara::TGeoPara(), TGeoPatternCylPhi::TGeoPatternCylPhi(), TGeoPatternTrapZ::TGeoPatternTrapZ(), TGeoPcon::TGeoPcon(), TGeoTrap::TGeoTrap(), TGLCylinder::TGLCylinder(), ROOT::v5::TMath_GenerInterface(), TGLPerspectiveCamera::Truck(), TEveTrackPropagator::Update(), and TEveTrackPropagator::Helix_t::UpdateHelix().

Double_t TMath::DiLog ( Double_t  x)

The DiLogarithm function Code translated by R.Brun from CERNLIB DILOG function C332.

Definition at line 113 of file TMath.cxx.

Referenced by Functions(), RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::E ( )
inline

Definition at line 54 of file TMath.h.

Referenced by RooStats::HypoTestInverterResult::Add(), TH1::Add(), TGeoElementRN::AddDecay(), ROOT::TMetaUtils::AddDefaultParameters(), TGeoMixture::AddElement(), TMultiDimFit::AddRow(), TMultiDimFit::AddTestRow(), TGeoTrack::AnimateTrack(), TGeoManager::AnimateTracks(), TEfficiency::BetaShortestInterval(), TSpline5::BuildCoeff(), ROOT::CanMap(), TMVA::PDEFoam::CheckAll(), TH1::CheckBinLimits(), TH1::CheckConsistentSubAxes(), TGeoElementRN::CheckDecays(), TGeoChecker::CheckGeometry(), TGeoRotation::CheckMatrix(), TGeoChecker::CheckPoint(), TBackCompFitter::Chisquare(), ClassImp(), TGeoCtub::ComputeBBox(), TGeoTube::ComputeNormal(), TGeoTrd1::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoTorus::ComputeNormal(), TGeoPcon::ComputeNormal(), TGeoArb8::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoHype::ComputeNormal(), TGeoUnion::ComputeNormal(), TGeoTubeSeg::ComputeNormal(), TGeoIntersection::ComputeNormal(), TGeoSubtraction::ComputeNormal(), TGeoCtub::ComputeNormal(), TGeoTubeSeg::ComputeNormalS(), computeOffsetHint(), TGeoSphere::Contains(), TGeoPcon::Contains(), TGeoPgon::Contains(), coordinates3D(), coordinates4D(), TGDMLWrite::CreateDivisionN(), TGeoTorus::DDaxis(), TGeoTorus::DDDaxis(), TAttParticle::DefinePDG(), TGeoSphere::DistFromInside(), TGeoTorus::DistFromInside(), TGeoPcon::DistFromInside(), TGeoUnion::DistFromInside(), TGeoCtub::DistFromInside(), TGeoShapeAssembly::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoTorus::DistFromOutside(), TGeoArb8::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoXtru::DistFromOutside(), TGeoIntersection::DistFromOutside(), TGeoSubtraction::DistFromOutside(), TGeoCtub::DistFromOutside(), TGeoHype::DistToHype(), TGeoParaboloid::DistToParaboloid(), TGeoXtru::DistToPlane(), TGeoArb8::DistToPlane(), TGeoVolume::Divide(), ROOT::Math::KelvinFunctions::DKer(), do_all_perms(), ROOT::Math::VavilovAccurate::E1plLog(), RooStats::HistFactory::LinInterpVar::evaluate(), RooNDKeysPdf::evaluate(), TClingCallFunc::EvaluateArgList(), ROOT::Vc::Common::exp(), vdt::fast_asinf(), vdt::fast_atan2f(), vdt::fast_atanf(), vdt::details::fast_sincosf_m45_45(), vdt::fast_tanf(), TFormula::FillDefaults(), findBin(), TGeoParallelWorld::FindNextBoundary(), TGeoNavigator::FindNextBoundary(), TSpectrumFit::FitAwmi(), TSpectrum2Fit::FitAwmi(), TSpectrumFit::FitStiefel(), TSpectrum2Fit::FitStiefel(), RScanner::FuncParameterList(), RScanner::FuncParameters(), ROOT::Math::Cephes::gamma(), TGeoRotation::GetAngles(), ROOT::TAxisEquidistant::GetBinIndexForLowEdge(), ROOT::Math::VavilovTest::GetCdfTestParams(), TMVA::Tools::GetCorrelationMatrix(), TMVA::MethodFisher::GetFisherCoeff(), TMVA::DecisionTree::GetFisherCoefficients(), RScanner::GetFunctionPrototype(), SelectionRules::GetFunctionPrototype(), TMVA::MethodLD::GetLDCoeff(), RooStats::SamplingSummaryLookup::GetLookupIndex(), TGeoNodeMatrix::GetOptimalVoxels(), ROOT::Math::VavilovTest::GetPdfTestParams(), TGeoPgon::GetPhiCrossList(), RooStats::BayesianCalculator::GetPosteriorFunction(), TF1::GetQuantiles(), ROOT::Math::VavilovTest::GetQuantileTestParams(), TClingClassInfo::HasDefaultConstructor(), ROOT::TMetaUtils::hasOpaqueTypedef(), integral_num(), integral_TF1(), TGraphDelaunay::Interpolate(), TUnfold::InvertMSparseSymmPos(), TGeoMaterial::IsEq(), TGeoMixture::IsEq(), TGeoBBox::IsNullBox(), TGeoSphere::IsPointInside(), TGeoPolygon::IsRightSided(), TGeoMatrix::IsRotAboutZ(), TGeoVoxelFinder::IsSafeVoxel(), TGeoArb8::IsSamePoint(), TGeoNavigator::IsSamePoint(), TGeoShape::IsSameWithinTolerance(), TGeoRotation::IsValid(), ROOT::Math::KelvinFunctions::Ker(), TGeoChecker::LegoPlot(), LogMultiGaussPdf(), TGeoChecker::MakeCheckOverlap(), ROOT::Math::Vavilov::Mode(), ROOT::Math::VavilovAccurate::Mode(), TGeoMatrix::Normalize(), TGeoGenTrans::Normalize(), operator==(), TGeoMatrix::operator==(), THistPainter::PaintCandlePlot(), THistPainter::PaintInit(), THistPainter::PaintViolinPlot(), TMVA::MethodBDT::PreProcessNegativeEventWeights(), PrintStatus(), TGeoPainter::Raytrace(), ROOT::TMetaUtils::ReSubstTemplateArg(), RooStats::HypoTestInverter::RunOnePoint(), TGeoParaboloid::Safety(), TGeoTube::Safety(), TGeoSphere::Safety(), TGeoPgon::Safety(), TGeoPcon::Safety(), TGeoTrap::Safety(), TGeoCtub::Safety(), TGeoTube::SafetyS(), TGeoShape::SafetySeg(), TGeoXtru::SafetyToSector(), TGeoPgon::SafetyToSegment(), TGeoPcon::SafetyToSegment(), TSpline5::SaveAs(), TGeoRotation::SetAngles(), TGeoScale::SetScale(), TGeoGenTrans::SetScale(), TGeoChecker::ShapeDistances(), TGeoChecker::ShapeNormal(), TGeoChecker::ShootRay(), SimpleFun(), TGeoPgon::SliceCrossingIn(), TGraphPainter::Smooth(), TGeoVoxelFinder::SortAll(), TGeoVoxelFinder::SortCrossedVoxels(), TGeoNavigator::Step(), test12(), test18(), test19(), testAnalyticalIntegrals(), testBinomial(), testCont1D(), testDerivation(), testDisc1D(), TMultiDimFit::TestFunction(), testGAMinimizer(), testGetRandom(), TestNeighbors(), testPoisson(), testQuantiles(), TestRange(), testSiCi(), testSpecFuncGamma(), testUnuran(), TGeoMaterial::TGeoMaterial(), ROOT::v5::TMath_GenerInterface(), TGeoTorus::ToBoundary(), TMVA::MethodHMatrix::Train(), unuranGraf(), unuranGraf2D(), unuranHist(), TCling::UpdateListsOnCommitted(), TCling::UpdateListsOnUnloaded(), and TGeoChecker::Weight().

Double_t TMath::Erf ( Double_t  x)
Double_t TMath::Erfc ( Double_t  x)

Compute the complementary error function erfc(x).

Erfc(x) = (2/sqrt(pi)) Integral(exp(-t^2))dt between x and infinity

Definition at line 197 of file TMath.cxx.

Referenced by RooCurve::calcBandInterval(), RooMath::erfc(), ErfInverse(), RooAbsReal::plotOnWithErrorBand(), RooTMathReg::RooTMathReg(), testSpecFuncErf(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::ErfcInverse ( Double_t  x)
Double_t TMath::ErfInverse ( Double_t  x)

returns the inverse error function x must be <-1<x<1

Definition at line 206 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), testSpecFuncErf(), ROOT::v5::TMath_GenerInterface(), and TMVA::VariableGaussTransform::Transform().

Double_t TMath::EulerGamma ( )
inline

Definition at line 122 of file TMath.h.

Referenced by TFormula::FillDefaults().

Bool_t TMath::Even ( Long_t  a)
inline

Definition at line 102 of file TMathBase.h.

Referenced by Quantiles().

Double_t TMath::Exp ( Double_t  x)
inline

Definition at line 495 of file TMath.h.

Referenced by TMVA::MethodBoost::AdaBoost(), TMVA::MethodBDT::AdaBoost(), TMVA::MethodBDT::AdaCost(), TLatex::Analyse(), TGraphSmooth::BDRksmooth(), BesselI0(), ChisquareQuantile(), ClassImp(), TKDEFGT::Compute_A_k(), TLimit::ComputeLimit(), TGeoBatemanSol::Concentration(), TPad::DrawFrame(), TNeuron::DSigmoid(), TEveCaloData::EtaToTheta(), TTreeFormula::EvalInstance(), TMVA::SVKernelFunction::Evaluate(), RooNovosibirsk::evaluate(), TPaletteAxis::ExecuteEvent(), TPad::ExecuteEventAxis(), TComplex::Exp(), TASPaletteEditor::ExpPalette(), TMVA::MethodCFMlpANN_Utils::Foncf(), Freq(), TMVA::LDA::FSub(), Gaus(), RooLognormal::generateEvent(), genPoisson(), genPoisson2(), GeomMean(), TNeuron::GetDerivative(), TMVA::LogInterval::GetElement(), TMVA::MethodSVM::GetMvaValue(), TMVA::MethodBoost::GetMvaValue(), TMVA::LogInterval::GetRndm(), TNeuron::GetValue(), KolmogorovProb(), LaplaceDist(), LaplaceDistI(), TMVA::MethodCFMlpANN::NN_fonc(), TPad::PadtoX(), TPad::PadtoY(), TRandom::Poisson(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Poisson(), Poisson(), TRandom::PoissonD(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::PoissonD(), TComplex::Power(), TKDEFGT::Predict(), RooTMathReg::RooTMathReg(), RootsCubic(), TSpectrum3::SearchFast(), TSpectrum3::SearchHighRes(), TSpectrum2::SearchHighRes(), TSpectrum::SearchHighRes(), TVector3::SetPtEtaPhi(), TMVA::SimulatedAnnealing::ShouldGoIn(), TNeuron::Sigmoid(), TSpectrum3::SmoothMarkov(), TSpectrum2::SmoothMarkov(), TSpectrum::SmoothMarkov(), StruveL0(), StruveL1(), StudentQuantile(), ROOT::v5::TMath_GenerInterface(), and Voigt().

Double_t TMath::Factorial ( Int_t  i)

Compute factorial(n).

Definition at line 250 of file TMath.cxx.

Referenced by RooLegendre::analyticalIntegral(), and RooTMathReg::RooTMathReg().

Double_t TMath::FDist ( Double_t  F,
Double_t  N,
Double_t  M 
)

Computes the density function of F-distribution (probability function, integral of density, is computed in FDistI).

Parameters N and M stand for degrees of freedom of chi-squares mentioned above parameter F is the actual variable x of the density function p(x) and the point at which the density function is calculated.

About F distribution: F-distribution arises in testing whether two random samples have the same variance. It is the ratio of two chi-square distributions, with N and M degrees of freedom respectively, where each chi-square is first divided by it's number of degrees of freedom. Implementation by Anna Kreshuk.

Definition at line 2224 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::FDistI ( Double_t  F,
Double_t  N,
Double_t  M 
)

Calculates the cumulative distribution function of F-distribution, this function occurs in the statistical test of whether two observed samples have the same variance.

For this test a certain statistic F, the ratio of observed dispersion of the first sample to that of the second sample, is calculated. N and M stand for numbers of degrees of freedom in the samples 1-FDistI() is the significance level at which the hypothesis "1 has smaller variance than 2" can be rejected. A small numerical value of 1 - FDistI() implies a very significant rejection, in turn implying high confidence in the hypothesis "1 has variance greater than 2". Implementation by Anna Kreshuk.

Definition at line 2242 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Int_t TMath::Finite ( Double_t  x)
inline
Double_t TMath::Floor ( Double_t  x)
inline
Int_t TMath::FloorNint ( Double_t  x)
inline
Double_t TMath::Freq ( Double_t  x)

Computation of the normal frequency function freq(x).

Freq(x) = (1/sqrt(2pi)) Integral(exp(-t^2/2))dt between -infinity and x.

Translated from CERNLIB C300 by Rene Brun.

Definition at line 268 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::G ( )
inline

Definition at line 68 of file TMath.h.

Referenced by TFormula::FillDefaults(), Gcgs(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::Gamma ( Double_t  z)
Double_t TMath::Gamma ( Double_t  a,
Double_t  x 
)

Computation of the normalized lower incomplete gamma function P(a,x) as defined in the Handbook of Mathematical Functions by Abramowitz and Stegun, formula 6.5.1 on page 260 .

Its normalization is such that TMath::Gamma(a,+infinity) = 1 .

Begin_Latex P(a, x) = #frac{1}{#Gamma(a) } #int_{0}^{x} t^{a-1} e^{-t} dt End_Latex

— Nve 14-nov-1998 UU-SAP Utrecht

Definition at line 369 of file TMath.cxx.

Double_t TMath::GammaDist ( Double_t  x,
Double_t  gamma,
Double_t  mu = 0,
Double_t  beta = 1 
)

Computes the density function of Gamma distribution at point x.

gamma - shape parameter mu - location parameter beta - scale parameter

The definition can be found in "Engineering Statistics Handbook" on site http://www.itl.nist.gov/div898/handbook/eda/section3/eda366b.htm use now implementation in ROOT::Math::gamma_pdf Begin_Html

Definition at line 2259 of file TMath.cxx.

Referenced by RooGamma::evaluate(), and RooTMathReg::RooTMathReg().

Double_t TMath::Gaus ( Double_t  x,
Double_t  mean = 0,
Double_t  sigma = 1,
Bool_t  norm = kFALSE 
)
Double_t TMath::Gcgs ( )
inline

Definition at line 69 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

template<typename T >
Double_t TMath::GeomMean ( Long64_t  n,
const T *  a 
)

Definition at line 855 of file TMath.h.

Referenced by stressVector(), testArrayFunctions(), and testIteratorFunctions().

template<typename Iterator >
Double_t TMath::GeomMean ( Iterator  first,
Iterator  last 
)

Definition at line 836 of file TMath.h.

Double_t TMath::GhbarC ( )
inline

Definition at line 73 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::GhbarCUncertainty ( )
inline

Definition at line 74 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::Gn ( )
inline

Definition at line 77 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::GnUncertainty ( )
inline

Definition at line 78 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::GUncertainty ( )
inline

Definition at line 70 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::H ( )
inline

Definition at line 81 of file TMath.h.

Referenced by TFormula::FillDefaults(), HC(), Hcgs(), and ROOT::v5::TMath_GenerInterface().

ULong_t TMath::Hash ( const void txt,
Int_t  ntxt 
)

Calculates hash index from any char string.

Based on precalculated table of 256 specially selected numbers. These numbers are selected in such a way, that for string length == 4 (integer number) the hash is unambigous, i.e. from hash value we can recalculate input (no degeneration).

The quality of hash method is good enough, that "random" numbers made as R = Hash(1), Hash(2), ...Hash(N) tested by <R>, <R*R>, <Ri*Ri+1> gives the same result as for libc rand().

For string: i = TMath::Hash(string,nstring); For int: i = TMath::Hash(&intword,sizeof(int)); For pointer: i = TMath::Hash(&pointer,sizeof(void*));

         V.Perev

This function is kept for back compatibility. The code previously in this function has been moved to the static function TString::Hash

Definition at line 1371 of file TMath.cxx.

Referenced by RooHashTable::find(), RooHashTable::findArg(), and TSelEventGen::Process().

ULong_t TMath::Hash ( const char *  str)

Return a case-sensitive hash value (endian independent).

Definition at line 1379 of file TMath.cxx.

Double_t TMath::Hbar ( )
inline

Definition at line 86 of file TMath.h.

Referenced by Hbarcgs(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::Hbarcgs ( )
inline

Definition at line 87 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::HbarUncertainty ( )
inline

Definition at line 88 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::HC ( )
inline

Definition at line 91 of file TMath.h.

Referenced by NamespaceImp(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::HCcgs ( )
inline

Definition at line 92 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::Hcgs ( )
inline

Definition at line 82 of file TMath.h.

Referenced by HCcgs(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::HUncertainty ( )
inline

Definition at line 83 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::Hypot ( Double_t  x,
Double_t  y 
)
Long_t TMath::Hypot ( Long_t  x,
Long_t  y 
)

Definition at line 53 of file TMath.cxx.

Double_t TMath::Infinity ( )
inline
Double_t TMath::InvPi ( )
inline

Definition at line 48 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

template<typename T >
Bool_t TMath::IsInside ( xp,
yp,
Int_t  np,
T *  x,
T *  y 
)
Int_t TMath::IsNaN ( Double_t  x)
inline
Double_t TMath::K ( )
inline
Double_t TMath::Kcgs ( )
inline

Definition at line 96 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::KolmogorovProb ( Double_t  z)
Double_t TMath::KolmogorovTest ( Int_t  na,
const Double_t a,
Int_t  nb,
const Double_t b,
Option_t option 
)

Statistical test whether two one-dimensional sets of points are compatible with coming from the same parent distribution, using the Kolmogorov test.

That is, it is used to compare two experimental distributions of unbinned data.

Input: a,b: One-dimensional arrays of length na, nb, respectively. The elements of a and b must be given in ascending order. option is a character string to specify options "D" Put out a line of "Debug" printout "M" Return the Maximum Kolmogorov distance instead of prob

Output: The returned value prob is a calculated confidence level which gives a statistical test for compatibility of a and b. Values of prob close to zero are taken as indicating a small probability of compatibility. For two point sets drawn randomly from the same parent distribution, the value of prob should be uniformly distributed between zero and one. in case of error the function return -1 If the 2 sets have a different number of points, the minimum of the two sets is used.

Method: The Kolmogorov test is used. The test statistic is the maximum deviation between the two integrated distribution functions, multiplied by the normalizing factor (rdmax*sqrt(na*nb/(na+nb)).

Code adapted by Rene Brun from CERNLIB routine TKOLMO (Fred James) (W.T. Eadie, D. Drijard, F.E. James, M. Roos and B. Sadoulet, Statistical Methods in Experimental Physics, (North-Holland, Amsterdam 1971) 269-271)

Method Improvement by Jason A Detwiler (JADet.nosp@m.wile.nosp@m.r@lbl.nosp@m..gov)

The nuts-and-bolts of the TMath::KolmogorovTest() algorithm is a for-loop over the two sorted arrays a and b representing empirical distribution functions. The for-loop handles 3 cases: when the next points to be evaluated satisfy a>b, a<b, or a=b:

for (Int_t i=0;i<na+nb;i++) { if (a[ia-1] < b[ib-1]) { rdiff -= sa; ia++; if (ia > na) {ok = kTRUE; break;} } else if (a[ia-1] > b[ib-1]) { rdiff += sb; ib++; if (ib > nb) {ok = kTRUE; break;} } else { rdiff += sb - sa; ia++; ib++; if (ia > na) {ok = kTRUE; break;} if (ib > nb) {ok = kTRUE; break;} } rdmax = TMath::Max(rdmax,TMath::Abs(rdiff)); }

For the last case, a=b, the algorithm advances each array by one index in an attempt to move through the equality. However, this is incorrect when one or the other of a or b (or both) have a repeated value, call it x. For the KS statistic to be computed properly, rdiff needs to be calculated after all of the a and b at x have been tallied (this is due to the definition of the empirical distribution function; another way to convince yourself that the old CERNLIB method is wrong is that it implies that the function defined as the difference between a and b is multi-valued at x – besides being ugly, this would invalidate Kolmogorov's theorem).

The solution is to just add while-loops into the equality-case handling to perform the tally:

  } else {
     double x = a[ia-1];
     while(a[ia-1] == x && ia <= na) {
       rdiff -= sa;
       ia++;
     }
     while(b[ib-1] == x && ib <= nb) {
       rdiff += sb;
       ib++;
     }
     if (ia > na) {ok = kTRUE; break;}
     if (ib > nb) {ok = kTRUE; break;}
  }

NOTE1 A good description of the Kolmogorov test can be seen at: http://www.itl.nist.gov/div898/handbook/eda/section3/eda35g.htm

Definition at line 784 of file TMath.cxx.

Referenced by ROOT::Math::GoFTest::KolmogorovSmirnov2SamplesTest().

template<class Element , typename Size >
Element TMath::KOrdStat ( Size  n,
const Element *  a,
Size  k,
Size *  work = 0 
)
Double_t TMath::KUncertainty ( )
inline

Definition at line 97 of file TMath.h.

Referenced by RUncertainty(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::Landau ( Double_t  x,
Double_t  mu = 0,
Double_t  sigma = 1,
Bool_t  norm = kFALSE 
)

The LANDAU function.

mu is a location parameter and correspond approximatly to the most probable value and sigma is a scale parameter (not the sigma of the full distribution which is not defined) Note that for mu=0 and sigma=1 (default values) the exact location of the maximum of the distribution (most proble value) is at x = -0.22278 This function has been adapted from the CERNLIB routine G110 denlan. If norm=kTRUE (default is kFALSE) the result is divided by sigma

Definition at line 473 of file TMath.cxx.

Referenced by ClassImp(), RooLandau::evaluate(), and RooTMathReg::RooTMathReg().

Double_t TMath::LandauI ( Double_t  x)

Returns the value of the Landau distribution function at point x.

The algorithm was taken from the Cernlib function dislan(G110) Reference: K.S.Kolbig and B.Schorr, "A program package for the Landau distribution", Computer Phys.Comm., 31(1984), 97-111

Definition at line 2682 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::LaplaceDist ( Double_t  x,
Double_t  alpha = 0,
Double_t  beta = 1 
)

Computes the probability density function of Laplace distribution at point x, with location parameter alpha and shape parameter beta.

By default, alpha=0, beta=1 This distribution is known under different names, most common is double exponential distribution, but it also appears as the two-tailed exponential or the bilateral exponential distribution

Definition at line 2281 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::LaplaceDistI ( Double_t  x,
Double_t  alpha = 0,
Double_t  beta = 1 
)

Computes the distribution function of Laplace distribution at point x, with location parameter alpha and shape parameter beta.

By default, alpha=0, beta=1 This distribution is known under different names, most common is double exponential distribution, but it also appears as the two-tailed exponential or the bilateral exponential distribution

Definition at line 2297 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::Ldexp ( Double_t  x,
Int_t  exp 
)
inline

Definition at line 498 of file TMath.h.

Referenced by RooTMathReg::RooTMathReg().

Double_t TMath::Ln10 ( )
inline

Definition at line 57 of file TMath.h.

Referenced by TFormula::FillDefaults(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::LnGamma ( Double_t  z)
template<typename T >
Long64_t TMath::LocMax ( Long64_t  n,
const T *  a 
)
template<typename Iterator >
Iterator TMath::LocMax ( Iterator  first,
Iterator  last 
)

Definition at line 743 of file TMath.h.

template<typename T >
Long64_t TMath::LocMin ( Long64_t  n,
const T *  a 
)
template<typename Iterator >
Iterator TMath::LocMin ( Iterator  first,
Iterator  last 
)

Definition at line 717 of file TMath.h.

Double_t TMath::Log ( Double_t  x)
inline

Definition at line 526 of file TMath.h.

Referenced by TMVA::MethodBoost::AdaBoost(), TMVA::MethodBDT::AdaBoost(), TMVA::MethodBDT::AdaBoostR2(), TMVA::MethodBDT::AdaCost(), TLatex::Analyse(), RooLognormal::analyticalIntegral(), RooNovosibirsk::analyticalIntegral(), ROOT::Math::GoFTest::AndersonDarlingTest(), TGeoMixture::AverageProperties(), RooStats::MetropolisHastings::CalcNLL(), TMVA::MethodMLP::CalculateEstimator(), ChisquareQuantile(), ClassImp(), TFractionFitter::ComputeChisquareLambda(), TBinomialEfficiencyFitter::ComputeFCN(), TFractionFitter::ComputeFCN(), RooStats::MetropolisHastings::ConstructChain(), DiLog(), TPad::DrawFrame(), TEveVectorT< TT >::Eta(), TParticle::Eta(), TTreeFormula::EvalInstance(), RooLognormal::evaluate(), RooNovosibirsk::evaluate(), TRandom::Exp(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Exp(), TASPaletteEditor::ExpPalette(), TGeoBatemanSol::FindSolution(), TSpectrumFit::FitAwmi(), TSpectrum2Fit::FitAwmi(), TFitter::FitLikelihood(), TFumili::FitLikelihood(), TFitter::FitLikelihoodI(), TFumili::FitLikelihoodI(), TSpectrumFit::FitStiefel(), TSpectrum2Fit::FitStiefel(), RooLognormal::generateEvent(), RooGamma::generateEvent(), TMVA::SimulatedAnnealing::GenerateNewTemperature(), GeomMean(), TMVA::MethodMLP::GetCEErr(), TMultiLayerPerceptron::GetCrossEntropy(), TMultiLayerPerceptron::GetCrossEntropyBinary(), TMVA::LogInterval::GetElement(), TMVA::LDA::GetLogLikelihood(), TMVA::Tools::GetMutualInformation(), TMVA::MethodBoost::GetMvaValue(), TMVA::LogInterval::GetRndm(), TGeoElementRN::GetSpecificActivity(), TFitter::GetSumLog(), TFumili::GetSumLog(), H1LeastSquareLinearFit(), TH2::KolmogorovTest(), TH3::KolmogorovTest(), TH1::KolmogorovTest(), TMultiGraph::LeastSquareLinearFit(), TGraph::LeastSquareLinearFit(), TRolke::LikeMod1(), TRolke::LikeMod2(), TRolke::LikeMod3(), TRolke::LikeMod4(), TRolke::LikeMod5(), TRolke::LikeMod6(), TRolke::LikeMod7(), TComplex::Log(), TComplex::Log10(), TComplex::Log2(), TLimit::LogLikelihood(), LogNormal(), TASPaletteEditor::LogPalette(), ROOT::Math::GoFTest::LogSample(), TMinuit::mnseek(), NormQuantile(), TGraphPolargram::PaintPolarDivisions(), TGraphPolargram::PaintRadialDivisions(), TRandom::Poisson(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Poisson(), TRandom::PoissonD(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::PoissonD(), TComplex::Power(), THistPainter::ProjectMercator2xy(), TVector3::PseudoRapidity(), TRandom::Rannor(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Rannor(), RooTMathReg::RooTMathReg(), RootsCubic(), TGeoMaterial::ScreenFactor(), TGeoMaterial::SetRadLen(), TGeoChecker::ShapeDistances(), RooStats::MetropolisHastings::ShouldTakeStep(), ROOT::v5::TMath_GenerInterface(), TMVA::MethodLikelihood::TransformLikelihoodOutput(), TParticle::Y(), and Yields().

Double_t TMath::Log10 ( Double_t  x)
inline

Definition at line 529 of file TMath.h.

Referenced by TFormula::AddVariables(), TGLH2PolyPainter::ClampZ(), TGLSurfacePainter::ClampZ(), TGLLegoPainter::ClampZ(), ClassImp(), TGraphPainter::ComputeLogs(), TPave::ConvertNDCtoPad(), TF1::DoCreateHistogram(), TGenerator::Draw(), TEveCaloLegoGL::DrawCells2D(), TTreeFormula::EvalInstance(), TPaletteAxis::ExecuteEvent(), TPad::ExecuteEventAxis(), TH1::GetContourLevelPad(), TGraph2DPainter::GetContourList(), TParallelCoordVar::GetEntryXY(), TUnfold::GetLcurveX(), TUnfold::GetLcurveY(), TPaletteAxis::GetObjectInfo(), TParallelCoordVar::GetQuantiles(), TF1::GetRandom(), TPaletteAxis::GetValueColor(), TParallelCoordVar::GetXYfromValue(), TGLLegoPainter::InitGeometryCartesian(), TGLSurfacePainter::InitGeometryCartesian(), TGLLegoPainter::InitGeometryCylindrical(), TGLSurfacePainter::InitGeometryCylindrical(), TPainter3dAlgorithms::LegoFunction(), TMinuit::mnbins(), THLimitsFinder::Optimize(), TPaletteAxis::Paint(), TSpline::Paint(), THStack::Paint(), TMultiGraph::Paint(), THistPainter::Paint2DErrors(), TGaxis::PaintAxis(), THistPainter::PaintBoxes(), TParallelCoordVar::PaintBoxPlot(), THistPainter::PaintCandlePlot(), THistPainter::PaintColorLevels(), THistPainter::PaintContour(), THistPainter::PaintContourLine(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), THistPainter::PaintHist(), TParallelCoordVar::PaintHistogram(), THistPainter::PaintInit(), THistPainter::PaintInitH(), THistPainter::PaintLego(), TGraph2DPainter::PaintLevels(), TGraph2DPainter::PaintPolyLine(), TGraph2DPainter::PaintPolyMarker(), THistPainter::PaintScatterPlot(), THistPainter::PaintSurface(), THistPainter::PaintText(), THistPainter::PaintTH2PolyColorLevels(), THistPainter::PaintTH2PolyScatterPlot(), THistPainter::PaintTH2PolyText(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), TTable::Print(), TMatrixTBase< Element >::Print(), TGLCameraOverlay::RenderBar(), TEveCaloLegoOverlay::RenderLogaritmicScales(), RooTMathReg::RooTMathReg(), TF1::Save(), TUnfold::ScanLcurve(), TUnfoldDensity::ScanTau(), TH1::SetContour(), TEveRGBAPaletteSubEditor::SetModel(), TEveTrackListEditor::SetModel(), TGLAxisPainter::SetTextFormat(), THistPainter::ShowProjectionX(), THistPainter::ShowProjectionY(), StruveH1(), TPainter3dAlgorithms::SurfaceFunction(), THistPainter::TableInit(), ROOT::v5::TMath_GenerInterface(), TProofMgr::UploadFiles(), TPad::XtoPad(), and TPad::YtoPad().

Double_t TMath::Log2 ( Double_t  x)
Double_t TMath::LogE ( )
inline

Definition at line 60 of file TMath.h.

Referenced by TFormula::FillDefaults(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::LogNormal ( Double_t  x,
Double_t  sigma,
Double_t  theta = 0,
Double_t  m = 1 
)

Computes the density of LogNormal distribution at point x.

Variable X has lognormal distribution if Y=Ln(X) has normal distribution sigma is the shape parameter theta is the location parameter m is the scale parameter The formula was taken from "Engineering Statistics Handbook" on site http://www.itl.nist.gov/div898/handbook/eda/section3/eda3669.htm Implementation using ROOT::Math::lognormal_pdf Begin_Html

Definition at line 2319 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg().

Short_t TMath::Max ( Short_t  a,
Short_t  b 
)
inline

Definition at line 202 of file TMathBase.h.

Referenced by TOrdCollection::AddAt(), TObjArray::AddAt(), TRefArray::AddAt(), TTable::AddAt(), TObjArray::AddAtAndExpand(), TRefArray::AddAtAndExpand(), TObjArray::AddAtFree(), TRefArray::AddAtFree(), TGPopupMenu::AddEntry(), TGListBox::AddEntry(), TGListBox::AddEntrySort(), TUnixSystem::AddFileHandler(), TGPopupMenu::AddLabel(), TLatex::TLatexFormSize::AddOver(), TGPopupMenu::AddPopup(), TGLBoxCut::AdjustBox(), TString::AdjustCapacity(), TGContainer::AdjustPosition(), TGListTree::AdjustPosition(), TView3D::AdjustScales(), TLatex::Analyse(), TMVA::annconvergencetest(), TGraphSmooth::Approx(), TSpectrum3::Background(), TSpectrum2::Background(), TGraphSmooth::BDRsupsmu(), TCurlyLine::Build(), TEveCalo2D::BuildCellIdCache(), TDatabasePDG::BuildPdgMap(), TMVA::TransformationHandler::CalcStats(), TFoam::Carver(), TAxis::ChooseTimeFormat(), TString::Chop(), ClassImp(), TMatrixTSparse< Element >::ColNorm(), TMatrixTBase< Element >::ColNorm(), Compare(), TMVA::compareanapp(), TGeoTrd1::ComputeBBox(), TGeoTrd2::ComputeBBox(), TGeoCone::ComputeBBox(), TGeoParaboloid::ComputeBBox(), TGeoSphere::ComputeBBox(), TGeoPcon::ComputeBBox(), TEveArrow::ComputeBBox(), TGeoPgon::ComputeBBox(), TGeoConeSeg::ComputeBBox(), TGeoCtub::ComputeBBox(), TGeoPcon::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoPcon::Contains(), TGeoPgon::Contains(), TGHtml::ControlSize(), TTableSorter::CountKey(), TMVA::MethodBoost::CreateMVAHistorgrams(), TQpDataSparse::DataNorm(), TQpDataDens::DataNorm(), TDecompBK::Decompose(), DefHouseHolder(), TXTRU::DefineSection(), TXTRU::DefineVertex(), TDecompSVD::Diagonalize(), TUnixSystem::DispatchOneEvent(), TGeoPcon::DistFromInside(), TGeoTorus::DistFromOutside(), TGeoArb8::DistFromOutside(), TGeoIntersection::DistFromOutside(), TGeoXtru::DistToPlane(), TGeoArb8::DistToPlane(), TFormula::DoAddParameter(), TGColorDialog::DoPreview(), TGCheckButton::DoRedraw(), TGRadioButton::DoRedraw(), TGeoHypeEditor::DoRout(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TGeoPainter::DrawBatemanSol(), TASImage::DrawCellArray(), TGX11::DrawCellArray(), TGWin32::DrawCellArray(), TGLPadPainter::DrawGradient(), TMVA::DrawMLPoutputMovie(), TGLVoxelPainter::DrawPlot(), TGLBoxPainter::DrawPlot(), TGLSurfacePainter::DrawPlot(), TGLTH3CompositionPainter::DrawPlot(), TGLParametricPlot::DrawPlot(), TGLSurfacePainter::DrawSectionXOY(), TGLPadPainter::DrawTextHelper(), TDataSetIter::Du(), TSpectrum2Transform::Enhance(), TEventList::Enter(), TStorage::EnterStat(), TMVA::RuleEnsemble::EvalLinEventRaw(), TFumili::ExecuteCommand(), TAxis3D::ExecuteEvent(), TPolyLine::ExecuteEvent(), THistPainter::ExecuteEvent(), TASImage::ExecuteEvent(), TPad::ExecuteEventAxis(), TGraphPainter::ExecuteEventHelper(), TBranch::ExpandBasketArrays(), TClonesArray::ExpandCreate(), TClonesArray::ExpandCreateFast(), TDecompSparse::Factor_sub2(), TTree::Fill(), RooFitResult::fillCorrMatrix(), TMVA::PDF::FillSplineToHist(), TSpectrum2Transform::FilterZonal(), TGraphDelaunay::FindAllTriangles(), Rgl::Pad::FindBoundingRect(), TGLIsoPainter::FindMinMax(), TEveTrackList::FindMomentumLimits(), TGTableLayout::FindRowColSizesHomogeneous(), TGTableLayout::FindRowColSizesSinglyAttached(), TSpline3::FindX(), TLatex::FirstParse(), TMVA::Tools::FormattedOutput(), TCurlyLine::GetBBoxCenter(), TLine::GetBBoxCenter(), TBox::GetBBoxCenter(), TMVA::MethodBoost::GetBoostROCIntegral(), TMVA::Event::GetBoostWeight(), TGeoEltu::GetBoundingCylinder(), TGeoCone::GetBoundingCylinder(), TGeoArb8::GetBoundingCylinder(), TGeoConeSeg::GetBoundingCylinder(), TGTextEntry::GetCharacterIndex(), TMVA::VariableGaussTransform::GetCumulativeDist(), TGTreeLBEntry::GetDefaultSize(), TGStatusBar::GetDefaultSize(), TGLVEntry::GetDefaultSize(), TGTabElement::GetDefaultSize(), TGVerticalLayout::GetDefaultSize(), TGHorizontalLayout::GetDefaultSize(), TGRowLayout::GetDefaultSize(), TGColumnLayout::GetDefaultSize(), TGMdiContainer::GetDefaultSize(), TGMatrixLayout::GetDefaultSize(), TGTileLayout::GetDefaultSize(), TGListLayout::GetDefaultSize(), TGListDetailsLayout::GetDefaultSize(), TGListBox::GetDefaultSize(), TMVA::MethodBase::GetEfficiency(), TConfidenceLevel::GetExpectedCLb_b(), TConfidenceLevel::GetExpectedCLb_sb(), TConfidenceLevel::GetExpectedCLsb_b(), TConfidenceLevel::GetExpectedStatistic_b(), TConfidenceLevel::GetExpectedStatistic_sb(), TGuiBldDragManager::GetFramesInside(), TGClient::GetHilite(), THStack::GetMaximum(), TGLVContainer::GetMaxItemSize(), TGLVContainer::GetMaxSubnameWidth(), TMVA::QuickMVAProbEstimator::GetMVAProbAt(), TMVA::MethodLikelihood::GetMvaValue(), TF1::GetQuantiles(), TMVA::DecisionTree::GetRandomisedVariables(), TMVA::MethodBDT::GetRegressionValues(), TMVA::ROCCalc::GetROC(), TMVA::OptimizeConfigParameters::GetROCIntegral(), TMVA::MethodBase::GetROCIntegral(), TMVA::LogInterval::GetStepSize(), TMVA::MethodBase::GetTrainingEfficiency(), TMVA::PDF::GetVal(), TGLAnnotation::Handle(), TGuiBldDragManager::HandleAlignment(), TGView::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleButton(), TGHtml::HandleButton(), TGMdiContainer::HandleConfigureNotify(), TGuiBldDragManager::HandleDelete(), TGContainer::HandleMotion(), TGHScrollBar::HandleMotion(), TGVScrollBar::HandleMotion(), TGuiBldDragManager::HandleReturn(), TGLVoxelPainter::InitGeometry(), TGLBoxPainter::InitGeometry(), TGLTH3CompositionPainter::InitGeometry(), TGLParametricPlot::InitGeometry(), TGLLegoPainter::InitGeometryCartesian(), TGLSurfacePainter::InitGeometryCartesian(), TGLLegoPainter::InitGeometryCylindrical(), TGLSurfacePainter::InitGeometryCylindrical(), TGLLegoPainter::InitGeometryPolar(), TGLSurfacePainter::InitGeometryPolar(), TGLLegoPainter::InitGeometrySpherical(), TGLSurfacePainter::InitGeometrySpherical(), TDecompSparse::InitPivot_sub3(), TDecompSparse::InitPivot_sub6(), TGListBox::InsertEntry(), RootCsg::intersect_poly_with_line_2d(), RootCsg::intersect_polygons(), TRolke::Interval(), TUnfold::InvertMSparseSymmPos(), TComplex::IsNaN(), KolmogorovProb(), TH2::KolmogorovTest(), TH3::KolmogorovTest(), KolmogorovTest(), TH1::KolmogorovTest(), TGListView::Layout(), TGVerticalLayout::Layout(), TGHorizontalLayout::Layout(), TGCanvas::Layout(), TGMatrixLayout::Layout(), TGTileLayout::Layout(), TGListLayout::Layout(), TGListDetailsLayout::Layout(), TGListBox::Layout(), TTF::LayoutGlyphs(), TGListView::LayoutHeader(), TPainter3dAlgorithms::LegoFunction(), TMVA::RuleFitParams::LossFunction(), TGraphSmooth::Lowess(), TGraphSmooth::Lowest(), TKDTree< Index, Value >::MakeBoundariesExact(), TGeoChecker::MakeCheckOverlap(), TMultiDimFit::MakeChi2(), THistPainter::MakeChopt(), TTreePlayer::MakeClass(), TMultiDimFit::MakeCoefficientErrors(), TGLAnnotation::MakeEditor(), TMatrixDSymEigen::MakeEigenVectors(), TFoam::MakeEvent(), TMVA::VariableNormalizeTransform::MakeFunction(), TMVA::RuleEnsemble::MakeLinearTerms(), TMultiDimFit::MakeParameterization(), TMatrixDEigen::MakeSchurr(), TEveTrackList::MakeTracks(), TGLBoundingBox::MaxAAVertex(), TGLVertex3::Maximum(), TMVA::DataSetFactory::MixEvents(), TMinuit::mnbins(), TMinuit::mncalf(), TMinuit::mncntr(), TMinuit::mncont(), TMinuit::mncros(), TMinuit::mnderi(), TMinuit::mnfixp(), TMinuit::mnhes1(), TMinuit::mnhess(), TMinuit::mnimpr(), TMinuit::mnlims(), TMinuit::mnline(), TMinuit::mnmatu(), TMinuit::mnmigr(), TMinuit::mnmnot(), TMinuit::mnparm(), TMinuit::mnpsdf(), TMinuit::mnrset(), TMinuit::mnscan(), TMinuit::mnset(), TStyleManager::ModAttDateTextSizeInPixels(), TStyleManager::ModStatFontSizeInPixels(), TStyleManager::ModTextSizeInPixels(), TStyleManager::ModTitleFontSizeInPixels(), TStyleManager::ModXLabelSizeInPixels(), TStyleManager::ModXTitleSizeInPixels(), TStyleManager::ModYLabelSizeInPixels(), TStyleManager::ModYTitleSizeInPixels(), TStyleManager::ModZLabelSizeInPixels(), TStyleManager::ModZTitleSizeInPixels(), TGWindow::MoveResize(), TGListBox::MoveResize(), TMVA::mvas(), TPDF::NewObject(), TMatrixTBase< Element >::NormByDiag(), TVectorT< Element >::NormInf(), TMVA::VariableGaussTransform::OldCumulant(), TGContainer::OnAutoScroll(), TLatex::TLatexFormSize::operator+(), TLatex::TLatexFormSize::operator+=(), TClonesArray::operator=(), TClonesArray::operator[](), TObjArray::operator[](), THLimitsFinder::Optimize(), TMVA::CostComplexityPruneTool::Optimize(), TCreatePrimitives::Pad(), TPaveStats::Paint(), TSpectrum2Painter::Paint(), TPie::Paint(), THistPainter::PaintArrows(), THistPainter::PaintAxis(), TGaxis::PaintAxis(), THistPainter::PaintBoxes(), TEllipse::PaintEllipse(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TGraphPainter::PaintGraph(), TGraphPainter::PaintGrapHist(), TGraphPainter::PaintGraphPolar(), TGraphPainter::PaintGraphQQ(), TPad::PaintHatches(), THistPainter::PaintHist(), THistPainter::PaintInit(), THistPainter::PaintInitH(), TGraph2DPainter::PaintPolyLine(), TGraphPainter::PaintPolyLineHatches(), TGraph2DPainter::PaintPolyMarker(), THistPainter::PaintTitle(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), TMVA::TransformationHandler::PlotVariables(), TGMsgBox::PMsgBox(), TRootDialog::Popup(), TKDEFGT::Predict(), TMVA::Ranking::Print(), RooStats::HistFactory::HistFactoryNavigation::PrintSampleComponents(), TMVA::probas(), TGColorDialog::ProcessMessage(), RooStats::ProfileLikelihoodTestStat::ProfileLikelihoodTestStat(), TRolke::ProfLikeMod1(), TGeoChecker::RandomRays(), TMatrixT< Element >::Rank1Update(), TMatrixTSub< Element >::Rank1Update(), TH1::RecomputeAxisLimits(), TString::Remove(), TOrdCollection::RemoveAt(), TUnixSystem::RemoveFileHandler(), TGLAnnotation::Render(), TEveCaloLegoOverlay::RenderHeader(), TEveCaloLegoOverlay::RenderLogaritmicScales(), TGPopupMenu::Reposition(), TEveBoxSet::Reset(), TGWindow::Resize(), TGListBox::Resize(), TVectorT< Element >::ResizeTo(), TMatrixTSym< Element >::ResizeTo(), TMatrixT< Element >::ResizeTo(), TColor::RGB2HSV(), TMVA::ROCCalc::ROCCalc(), RooHashTable::RooHashTable(), TMatrixTSparse< Element >::RowNorm(), TMatrixTBase< Element >::RowNorm(), TGeoPgon::Rpg(), TMVA::rulevisCorr(), TMVA::rulevisHists(), RooStats::HypoTestInverterOriginal::RunAutoScan(), TGeoEltu::Safety(), TGeoParaboloid::Safety(), TGeoTorus::Safety(), TGeoSphere::Safety(), TGeoArb8::Safety(), TGeoIntersection::Safety(), TGeoTubeSeg::Safety(), TGeoConeSeg::Safety(), TGeoSubtraction::Safety(), TGeoCtub::Safety(), TGeoTubeSeg::SafetyS(), TGeoConeSeg::SafetyS(), TGeoXtru::SafetyToSector(), TGeoPgon::SafetyToSegment(), TUnixSystem::Select(), TGuiBldDragManager::SelectFrame(), TTree::SetAutoFlush(), TCurlyLine::SetBBoxCenter(), TLine::SetBBoxCenter(), TBox::SetBBoxCenter(), TCurlyLine::SetBBoxCenterX(), TLine::SetBBoxCenterX(), TBox::SetBBoxCenterX(), TCurlyLine::SetBBoxCenterY(), TLine::SetBBoxCenterY(), TBox::SetBBoxCenterY(), TGListView::SetDefaultColumnWidth(), TStyle::SetHatchesSpacing(), TEveRGBAPalette::SetMax(), TEveProjection::SetMaxTrackStep(), TEveRGBAPaletteSubEditor::SetModel(), TGedNameFrame::SetModel(), TEveJetCone::SetNDiv(), TPointsArray3D::SetPoint(), TPolyMarker::SetPoint(), TPolyLine3D::SetPoint(), TPolyMarker3D::SetPoint(), TPolyLine::SetPoint(), TGraph2D::SetPoint(), TGHScrollBar::SetPosition(), TGVScrollBar::SetPosition(), RooStats::HistFactory::HistFactoryNavigation::SetPrintWidths(), TEvePointSetArray::SetRange(), TGHScrollBar::SetRange(), TGVScrollBar::SetRange(), TGTableLayout::SetRowColResize(), TGLAxisPainter::SetTextFormat(), TEveRGBAPalette::SetupColor(), TLorentzVector::SetXYZM(), TGeoChecker::ShapeDistances(), TGTabElement::ShowClose(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), TGraphPainter::Smooth(), TH1::SmoothArray(), TMVA::PDF::SmoothHistogram(), TGraphSmooth::SmoothKern(), TMVA::MethodBase::Statistics(), TGeoHelix::StepToPlane(), TPainter3dAlgorithms::SurfaceFunction(), THistPainter::TableInit(), TAdvancedGraphicsDialog::TAdvancedGraphicsDialog(), TMVA::SVWorkingSet::TakeStep(), TMVA::SVWorkingSet::TakeStepReg(), TMVA::MethodBase::TestClassification(), TPainter3dAlgorithms::TestEdge(), TGeoChecker::TestOverlaps(), testReduceProduct(), TMVA::MethodBase::TestRegression(), TFumili::TFumili(), TGColorDialog::TGColorDialog(), TGFileDialog::TGFileDialog(), TGHScrollBar::TGHScrollBar(), TGraphQQ::TGraphQQ(), TGVScrollBar::TGVScrollBar(), TGeoChecker::TimingPerVolume(), TKey::TKey(), ROOT::v5::TMath_GenerInterface(), TGeoTorus::ToBoundary(), TMVA::MethodCuts::Train(), TMVA::DecisionTree::TrainNodeFast(), TSpectrum2Transform::Transform(), TMVA::VariableGaussTransform::Transform(), TSpectrum3::TSpectrum3(), TStyleManager::TStyleManager(), TBasket::Update(), TEveStraightLineSetProjected::UpdateProjection(), TMVA::variables(), and TMVA::VariableInfo::WriteToStream().

UShort_t TMath::Max ( UShort_t  a,
UShort_t  b 
)
inline

Definition at line 205 of file TMathBase.h.

Int_t TMath::Max ( Int_t  a,
Int_t  b 
)
inline

Definition at line 208 of file TMathBase.h.

UInt_t TMath::Max ( UInt_t  a,
UInt_t  b 
)
inline

Definition at line 211 of file TMathBase.h.

Long_t TMath::Max ( Long_t  a,
Long_t  b 
)
inline

Definition at line 214 of file TMathBase.h.

ULong_t TMath::Max ( ULong_t  a,
ULong_t  b 
)
inline

Definition at line 217 of file TMathBase.h.

Long64_t TMath::Max ( Long64_t  a,
Long64_t  b 
)
inline

Definition at line 220 of file TMathBase.h.

ULong64_t TMath::Max ( ULong64_t  a,
ULong64_t  b 
)
inline

Definition at line 223 of file TMathBase.h.

Float_t TMath::Max ( Float_t  a,
Float_t  b 
)
inline

Definition at line 226 of file TMathBase.h.

Double_t TMath::Max ( Double_t  a,
Double_t  b 
)
inline

Definition at line 229 of file TMathBase.h.

template<typename T >
T TMath::MaxElement ( Long64_t  n,
const T *  a 
)

Definition at line 688 of file TMath.h.

Referenced by TTreePerfStats::Finish(), TMemStatShow::Show(), and testArrayFunctions().

template<typename T >
Double_t TMath::Mean ( Long64_t  n,
const T *  a,
const Double_t w = 0 
)
template<typename Iterator >
Double_t TMath::Mean ( Iterator  first,
Iterator  last 
)

Definition at line 778 of file TMath.h.

template<typename Iterator , typename WeightIterator >
Double_t TMath::Mean ( Iterator  first,
Iterator  last,
WeightIterator  wfirst 
)

Definition at line 795 of file TMath.h.

template<typename T >
Double_t TMath::Median ( Long64_t  n,
const T *  a,
const Double_t w = 0,
Long64_t work = 0 
)
Short_t TMath::Min ( Short_t  a,
Short_t  b 
)
inline

Definition at line 170 of file TMathBase.h.

Referenced by TEntryList::Add(), TGLScenePad::AddHistoPhysical(), TGLBoxCut::AdjustBox(), TGContainer::AdjustPosition(), TGListTree::AdjustPosition(), TLatex::Analyse(), TMVA::annconvergencetest(), TString::Append(), TSpectrum3::Background(), TSpectrum2::Background(), TObjArray::BinarySearch(), Binomial(), TTable::Browse(), TTableSorter::BuildSorter(), TLatex::CheckLatexSyntax(), ClassImp(), TGeoBranchArray::Compare(), TMVA::compareanapp(), TGeoSphere::ComputeBBox(), TGeoPcon::ComputeBBox(), TGeoPgon::ComputeBBox(), TGeoConeSeg::ComputeBBox(), TGeoCtub::ComputeBBox(), TGeoEltu::ComputeNormal(), TGeoPcon::ComputeNormal(), TGeoPgon::ComputeNormal(), TGraphErrors::ComputeRange(), TGraphAsymmErrors::ComputeRange(), TGraphBentErrors::ComputeRange(), TGeoPcon::Contains(), TGeoPgon::Contains(), TMVA::MethodBoost::CreateMVAHistorgrams(), TGraphPolargram::DistancetoPrimitive(), TGeoEltu::DistFromInside(), TGeoSphere::DistFromInside(), TGeoParaboloid::DistFromInside(), TGeoTorus::DistFromInside(), TGeoPcon::DistFromInside(), TGeoArb8::DistFromInside(), TGeoHype::DistFromInside(), TGeoCtub::DistFromInside(), TGeoTube::DistFromInsideS(), TGeoCone::DistFromInsideS(), TGeoTubeSeg::DistFromInsideS(), TGeoConeSeg::DistFromInsideS(), TGeoShapeAssembly::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoHype::DistFromOutside(), TGeoConeSeg::DistFromOutsideS(), TGeoShape::DistToPhiMin(), TGColorDialog::DoPreview(), TGTextEntry::DoRedraw(), TGeoHypeEditor::DoRin(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TASImage::DrawBox(), TGX11::DrawBox(), TGWin32::DrawBox(), TEveCaloLegoGL::DrawCells2D(), Rgl::DrawCylinder(), TGuiBldHintsButton::DrawExpandX(), TGuiBldHintsButton::DrawExpandY(), TMVA::DrawMLPoutputMovie(), TGLSurfacePainter::DrawPlot(), TGLParametricPlot::DrawPlot(), TImageDump::DrawPS(), TGLSurfacePainter::DrawSectionXOY(), Rgl::DrawSphere(), TTable::EntryLoop(), TMVA::RuleEnsemble::EvalLinEventRaw(), TLinearFitter::EvalRobust(), TRobustEstimator::EvaluateUni(), TPaletteAxis::ExecuteEvent(), TPolyLine::ExecuteEvent(), THistPainter::ExecuteEvent(), TASImage::ExecuteEvent(), TPad::ExecuteEventAxis(), TGraphPainter::ExecuteEventHelper(), TDecompSparse::Factor(), TDecompSparse::Factor_sub1(), TDecompSparse::Factor_sub2(), RooFitResult::fillCorrMatrix(), TEveTrackPropagator::FillPointSet(), Rgl::Pad::FindBoundingRect(), TZIPFile::FindEndHeader(), TF3::FindMinMax(), TGLIsoPainter::FindMinMax(), TF2::FindMinMax(), TSpline5::FindX(), TComplex::Finite(), TCurlyLine::GetBBoxCenter(), TLine::GetBBoxCenter(), TBox::GetBBoxCenter(), TMVA::MethodBoost::GetBoostROCIntegral(), TGeoCone::GetBoundingCylinder(), TGeoConeSeg::GetBoundingCylinder(), TGTextEntry::GetCharacterIndex(), TMVA::VariableGaussTransform::GetCumulativeDist(), TQpDataSparse::GetDiagonalOfQ(), TQpDataDens::GetDiagonalOfQ(), TLegend::GetEntry(), TConfidenceLevel::GetExpectedCLb_b(), TConfidenceLevel::GetExpectedCLb_sb(), TConfidenceLevel::GetExpectedCLsb_b(), TConfidenceLevel::GetExpectedStatistic_b(), TConfidenceLevel::GetExpectedStatistic_sb(), TGeoTrd1::GetFittingBox(), TGeoPara::GetFittingBox(), TGeoTrd2::GetFittingBox(), TGeoBBox::GetFittingBox(), TGeoArb8::GetFittingBox(), TGuiBldDragManager::GetFramesInside(), TEveCaloLegoGL::GetGridStep(), TGClient::GetHilite(), RooStats::NeymanConstruction::GetInterval(), TGLAnnotation::GetLineTransparency(), THStack::GetMinimum(), TMVA::QuickMVAProbEstimator::GetMVAProbAt(), TGeoVoxelFinder::GetNextCandidates(), TPaletteAxis::GetObjectInfo(), TASImage::GetPolygonSpans(), TMVA::DecisionTree::GetRandomisedVariables(), TMVA::MethodBDT::GetRegressionValues(), TMVA::OptimizeConfigParameters::GetROCIntegral(), TMVA::MethodBase::GetROCIntegral(), TMVA::PDF::GetVal(), TPaletteAxis::GetValueColor(), TPoints3DABC::GetXYZ(), TTable3Points::GetXYZ(), TMVA::MethodBDT::GradBoostRegression(), TGLSelectBuffer::Grow(), TGLAnnotation::Handle(), TGuiBldDragManager::HandleAlignment(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleButton(), TGListTree::HandleButton(), TGuiBldDragManager::HandleDelete(), TGContainer::HandleMotion(), TGHScrollBar::HandleMotion(), TGVScrollBar::HandleMotion(), TGuiBldDragManager::HandleReturn(), TGLVoxelPainter::InitGeometry(), TGLBoxPainter::InitGeometry(), TGLTH3CompositionPainter::InitGeometry(), TGLParametricPlot::InitGeometry(), TGLLegoPainter::InitGeometryCartesian(), TGLSurfacePainter::InitGeometryCartesian(), TGLLegoPainter::InitGeometryCylindrical(), TGLSurfacePainter::InitGeometryCylindrical(), TGLLegoPainter::InitGeometryPolar(), TGLSurfacePainter::InitGeometryPolar(), TGLLegoPainter::InitGeometrySpherical(), TGLSurfacePainter::InitGeometrySpherical(), TDecompSparse::InitPivot(), TDecompSparse::InitPivot_sub2(), TDecompSparse::InitPivot_sub4(), TDecompSparse::InitPivot_sub6(), TGTextEntry::Insert(), TString::Insert(), TGTextEntry::InsertText(), TF3::Integral(), ROOT::TF1Helper::IntegralError(), TF1::IntegralMultiple(), RootCsg::intersect_poly_with_line_2d(), RootCsg::intersect_polygons(), TUnfold::InvertMSparseSymmPos(), TGeoShape::IsCloseToPhi(), TGeoPgon::IsCrossingSlice(), TProfile::LabelsOption(), TProfile2D::LabelsOption(), TH1::LabelsOption(), TGListView::Layout(), TGListView::LayoutHeader(), TPainter3dAlgorithms::LegoFunction(), TMVA::RuleFitParams::LossFunction(), TGraphSmooth::Lowess(), TKDTree< Index, Value >::MakeBoundariesExact(), TFoam::MakeEvent(), TMVA::VariableNormalizeTransform::MakeFunction(), TMVA::RuleEnsemble::MakeLinearTerms(), TMatrixDEigen::MakeSchurr(), TGLBoundingBox::MinAAVertex(), TGLVertex3::Minimum(), TEveCaloLegoGL::Cell2D_t::MinSize(), TMinuit::mnbins(), TMinuit::mncalf(), TMinuit::mncntr(), TMinuit::mncomd(), TMinuit::mncont(), TMinuit::mncros(), TMinuit::mnemat(), TMinuit::mnfixp(), TMinuit::mnhess(), TMinuit::mnlims(), TMinuit::mnline(), TMinuit::mnmatu(), TMinuit::mnmigr(), TMinuit::mnmnot(), TMinuit::mnplot(), TMinuit::mnprin(), TMinuit::mnscan(), TMinuit::mnset(), TClonesArray::MultiSort(), TMVA::mvas(), TMVA::VariableGaussTransform::OldCumulant(), TGContainer::OnAutoScroll(), TFileMerger::OpenExcessFiles(), THLimitsFinder::Optimize(), TCreatePrimitives::Pad(), TPaveStats::Paint(), TSpectrum2Painter::Paint(), TPaletteAxis::Paint(), TGraph2DPainter::Paint(), TPie::Paint(), TArrow::PaintArrow(), TGaxis::PaintAxis(), THistPainter::PaintBar(), THistPainter::PaintBarH(), THistPainter::PaintBoxes(), TEllipse::PaintEllipse(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TGraphPainter::PaintGrapHist(), TGraphPainter::PaintGraphPolar(), TGraphPainter::PaintGraphQQ(), TPolyMarker3D::PaintH3(), TPad::PaintHatches(), THistPainter::PaintHist(), THistPainter::PaintInit(), THistPainter::PaintInitH(), TGraph2DPainter::PaintPolyLine(), TGraphPainter::PaintPolyLineHatches(), TGraph2DPainter::PaintPolyMarker(), TLegend::PaintPrimitives(), THistPainter::PaintTH2PolyColorLevels(), THistPainter::PaintTH2PolyScatterPlot(), THistPainter::PaintTitle(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), TMVA::paracoor(), TMVA::plot_efficiencies(), TMVA::TransformationHandler::PlotVariables(), TKDEFGT::Predict(), TGLSceneBase::PreDraw(), TString::Prepend(), TTable::Print(), TMatrixTBase< Element >::Print(), TMVA::RuleEnsemble::Print(), RooStats::HistFactory::HistFactoryNavigation::PrintSampleComponents(), RooStats::HistFactory::HistFactoryNavigation::PrintState(), TBranchElement::PrintValue(), TMVA::probas(), TGColorDialog::ProcessMessage(), TBufferFile::ReadBuf(), TH1::RecomputeAxisLimits(), TGTextEntry::RemoveText(), TString::Replace(), TGX11::RequestLocator(), TGWin32::RequestLocator(), TTableIter::Reset(), TVectorT< Element >::ResizeTo(), TMatrixTSym< Element >::ResizeTo(), TMatrixT< Element >::ResizeTo(), TColor::RGB2HSV(), TGeoPgon::Rpg(), TGeoEltu::Safety(), TGeoParaboloid::Safety(), TGeoTorus::Safety(), TGeoSphere::Safety(), TGeoArb8::Safety(), TGeoPcon::Safety(), TGeoXtru::Safety(), TGeoNavigator::Safety(), TGeoUnion::Safety(), TGeoIntersection::Safety(), TGeoTubeSeg::Safety(), TGeoConeSeg::Safety(), TGeoSubtraction::Safety(), TGeoCtub::Safety(), TGeoShape::SafetyPhi(), TGeoTubeSeg::SafetyS(), TGeoConeSeg::SafetyS(), TGeoXtru::SafetyToSector(), TGeoPgon::SafetyToSegment(), TEveTrackList::SanitizeMinMaxCuts(), TGGC::SavePrimitive(), TStructViewerGUI::Scale(), TGuiBldDragManager::SelectFrame(), TGraph::Set(), TCurlyLine::SetBBoxCenter(), TLine::SetBBoxCenter(), TBox::SetBBoxCenter(), TCurlyLine::SetBBoxCenterX(), TLine::SetBBoxCenterX(), TBox::SetBBoxCenterX(), TCurlyLine::SetBBoxCenterY(), TLine::SetBBoxCenterY(), TBox::SetBBoxCenterY(), TPDF::SetColor(), TPostScript::SetColor(), TEveUtil::SetColorBrightness(), TGGC::SetDashList(), TPDF::SetFillPatterns(), TPostScript::SetFillPatterns(), TTablePoints::SetLastPosition(), TPointsArray3D::SetLastPosition(), TGX11::SetLineType(), TGWin32::SetLineType(), TEveRGBAPalette::SetMin(), TEveRGBAPaletteSubEditor::SetModel(), TGedNameFrame::SetModel(), TColor::SetPalette(), TGHScrollBar::SetPosition(), TGVScrollBar::SetPosition(), TEvePointSetArray::SetRange(), TGHScrollBar::SetRange(), TGVScrollBar::SetRange(), TTableSorter::SetSimpleArray(), TMatrixTSparse< Element >::SetSparseIndex(), TGLAxisPainter::SetTextFormat(), TGLPerspectiveCamera::Setup(), TEveRGBAPalette::SetupColor(), TTree::Show(), TPad::ShowGuidelines(), THistPainter::ShowProjection3(), THistPainter::ShowProjectionX(), THistPainter::ShowProjectionY(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), TGraphPainter::Smooth(), TMVA::PDF::SmoothHistogram(), TDecompSparse::Solve(), TDecompSparse::Solve_sub1(), TDecompSparse::Solve_sub2(), TClonesArray::Sort(), TObjArray::Sort(), TMVA::MethodBase::Statistics(), TPainter3dAlgorithms::SurfaceFunction(), THistPainter::TableInit(), TMVA::SVWorkingSet::TakeStepReg(), TMVA::MethodBase::TestClassification(), testCompatibility(), TPainter3dAlgorithms::TestEdge(), TGeoChecker::TestOverlaps(), TMVA::MethodBase::TestRegression(), TGraph::TGraph(), TGraphAsymmErrors::TGraphAsymmErrors(), ROOT::v5::TMath_GenerInterface(), TMatrixTDiag_const< Element >::TMatrixTDiag_const(), TMatrixTSparseDiag_const< Element >::TMatrixTSparseDiag_const(), TMVA::MethodLikelihood::Train(), TMVA::MethodCuts::Train(), TMVA::DecisionTree::TrainNodeFast(), TMVA::VariableGaussTransform::Transform(), TStyleManager::TStyleManager(), TVectorT< Element >::TVectorT(), TGeoBranchArray::UpdateNavigator(), TGGC::UpdateValues(), VavilovI(), and TGraph::Zero().

UShort_t TMath::Min ( UShort_t  a,
UShort_t  b 
)
inline

Definition at line 173 of file TMathBase.h.

Int_t TMath::Min ( Int_t  a,
Int_t  b 
)
inline

Definition at line 176 of file TMathBase.h.

UInt_t TMath::Min ( UInt_t  a,
UInt_t  b 
)
inline

Definition at line 179 of file TMathBase.h.

Long_t TMath::Min ( Long_t  a,
Long_t  b 
)
inline

Definition at line 182 of file TMathBase.h.

ULong_t TMath::Min ( ULong_t  a,
ULong_t  b 
)
inline

Definition at line 185 of file TMathBase.h.

Long64_t TMath::Min ( Long64_t  a,
Long64_t  b 
)
inline

Definition at line 188 of file TMathBase.h.

ULong64_t TMath::Min ( ULong64_t  a,
ULong64_t  b 
)
inline

Definition at line 191 of file TMathBase.h.

Float_t TMath::Min ( Float_t  a,
Float_t  b 
)
inline

Definition at line 194 of file TMathBase.h.

Double_t TMath::Min ( Double_t  a,
Double_t  b 
)
inline

Definition at line 197 of file TMathBase.h.

template<typename T >
T TMath::MinElement ( Long64_t  n,
const T *  a 
)
Double_t TMath::MWair ( )
inline

Definition at line 115 of file TMath.h.

Referenced by Rgair(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::Na ( )
inline
Double_t TMath::NaUncertainty ( )
inline

Definition at line 105 of file TMath.h.

Referenced by RUncertainty(), and ROOT::v5::TMath_GenerInterface().

Long_t TMath::NextPrime ( Long_t  x)

TMath Base functions.

Define the functions Min, Max, Abs, Sign, Range for all types. NB: These functions are unfortunately not available in a portable way in std::.

More functions are defined in TMath.h. TMathBase.h is designed to be a stable file and used in place of TMath.h in the ROOT miniCore. Return next prime number after x, unless x is a prime in which case x is returned.

Definition at line 29 of file TMathBase.cxx.

Referenced by ClassImp(), TObjectTable::Expand(), TExMap::Expand(), and RooHashTable::RooHashTable().

template<typename T >
Int_t TMath::Nint ( x)
inline

Definition at line 480 of file TMath.h.

Referenced by TEveGValuator::CalcSliderPos(), CeilNint(), ClassImp(), TGLRect::Diagonal(), TEveRGBAPalette::DoubleToInt(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TEveCaloLegoGL::DrawCells2D(), TASImage::DrawDashZLine(), TASImage::DrawDashZTLine(), TPad::DrawDist(), TFractionFitter::FindPrediction(), FloorNint(), TEveTriangleSet::GenerateZNormalColors(), TEveCaloLegoGL::GetGridStep(), TGLColor::GetTransparency(), TGLEventHandler::HandleButton(), TRootCanvas::HandleContainerConfigure(), TGLEventHandler::HandleKey(), TGLEventHandler::HandleMotion(), TProof::HandleSubmerger(), TGLUtil::InitializeIfNeeded(), TDecompSparse::InitPivot_sub2(), KolmogorovProb(), TProof::MarkBad(), TGLAxisPainter::PaintAxis(), TMVA::TransformationHandler::PlotVariables(), TGLUtil::PointToViewport(), TH1::RecomputeAxisLimits(), TGLRnrCtx::RegisterFont(), TGLOverlayButton::Render(), TGLAnnotation::Render(), TEveBoxSetGL::RenderBoxes(), TEveCaloLegoOverlay::RenderHeader(), TEveCaloLegoOverlay::RenderLogaritmicScales(), TGLCameraOverlay::RenderPlaneIntersect(), TGPack::ResizeExistingFrames(), TGLViewer::SavePictureHeight(), TGLViewer::SavePictureScale(), TGLViewer::SavePictureWidth(), TASImage::SavePrimitive(), TGLAutoRotator::SetDt(), TEveRGBAPalette::SetLimitsScaleMinMax(), TEveRGBAPaletteSubEditor::SetModel(), TEveRGBAPalette::SetupColor(), THistPainter::ShowProjectionX(), THistPainter::ShowProjectionY(), TGLAutoRotator::Start(), TEvePointSet::TakeAction(), TEveTrack::TEveTrack(), and TMVA::MethodLikelihood::Train().

template<typename T >
T * TMath::Normal2Plane ( const T  v1[3],
const T  v2[3],
const T  v3[3],
normal[3] 
)
Float_t TMath::Normalize ( Float_t  v[3])

Normalize a vector v in place.

Returns the norm of the original vector.

Definition at line 499 of file TMath.cxx.

Referenced by TGeoEltu::ComputeNormal(), TPolyLineShape::Gyrot(), TPolyLineShape::PaintNode(), TGeoHelix::Step(), and TCTUB::TCTUB().

Double_t TMath::Normalize ( Double_t  v[3])

Normalize a vector v in place.

Returns the norm of the original vector. This implementation (thanks Kevin Lynch krlyn.nosp@m.ch@b.nosp@m.u.edu) is protected against possible overflows.

Definition at line 516 of file TMath.cxx.

Referenced by NormCross().

template<typename T >
T TMath::NormCross ( const T  v1[3],
const T  v2[3],
out[3] 
)
inline

Definition at line 674 of file TMath.h.

Referenced by Normal2Plane(), and testNormCross().

Double_t TMath::NormQuantile ( Double_t  p)

Computes quantiles for standard normal distribution N(0, 1) at probability p ALGORITHM AS241 APPL.

STATIST. (1988) VOL. 37, NO. 3, 477-484.

Definition at line 2342 of file TMath.cxx.

Referenced by ChisquareQuantile(), ErfcInverse(), TGraphQQ::MakeFunctionQuantiles(), TGraphQQ::Quartiles(), RooTMathReg::RooTMathReg(), StudentQuantile(), and ROOT::v5::TMath_GenerInterface().

Bool_t TMath::Odd ( Long_t  a)
inline

Definition at line 105 of file TMathBase.h.

Bool_t TMath::Permute ( Int_t  n,
Int_t a 
)

Simple recursive algorithm to find the permutations of n natural numbers, not necessarily all distinct adapted from CERNLIB routine PERMU.

The input array has to be initialised with a non descending sequence. The method returns kFALSE when all combinations are exhausted.

Definition at line 2443 of file TMath.cxx.

Referenced by checkPermute(), TH3::KolmogorovTest(), and permuteTime().

Double_t TMath::Pi ( )
inline

Definition at line 44 of file TMath.h.

Referenced by ACos(), RooSpHarmonic::analyticalIntegral(), TTimeStamp::AsGAST(), ASin(), ATan2(), TCurlyArc::Build(), TCurlyLine::Build(), TEveJetConeProjectedGL::CalculatePoints(), TGeoEltu::Capacity(), TGeoTorus::Capacity(), TGeoTube::Capacity(), TGeoParaboloid::Capacity(), TGeoCone::Capacity(), TGeoHype::Capacity(), CauchyDist(), TGeoChecker::CheckGeometry(), TGeoChecker::CheckGeometryFull(), ClassImp(), TEveJetCone::ComputeBBox(), TEveJetConeProjected::ComputeBBox(), DegToRad(), DiLog(), TCrown::DistancetoPrimitive(), TCurlyArc::DistancetoPrimitive(), TGraphPolargram::DistancetoPrimitive(), TPie::DistancetoSlice(), TGeoEltu::DistFromOutside(), TGeoPcon::DistFromOutside(), TPie::DrawGhost(), TSpider::DrawPoly(), TSpider::DrawPolyAverage(), TSpider::DrawSlices(), TSpider::DrawSlicesAverage(), ErrorBand(), TCurlyArc::ExecuteEvent(), TPie::ExecuteEvent(), TGraphPolargram::ExecuteEvent(), TFormula::FillDefaults(), TGraphPolargram::FindAlign(), THelix::FindClosestPhase(), TSpider::FindTextAlign(), TGraphPolargram::FindTextAngle(), TSpider::FindTextAngle(), RooKeysPdf::g(), gaus2d(), gaus3d(), TGenPhaseSpace::Generate(), genPoisson(), genPoisson2(), TGeoRotation::GetAngles(), TGeoRotation::GetPhiRotation(), TGDMLParse::GetScaleVal(), TRotation::GetXPhi(), TRotation::GetXPsi(), TRotation::GetYPhi(), TRotation::GetYPsi(), TGraphDelaunay::InHull(), TGLLegoPainter::InitGeometrySpherical(), TGLSurfacePainter::InitGeometrySpherical(), RooNDKeysPdf::initialize(), InvPi(), TGeoSphere::IsOnBoundary(), TEveCaloData::CellGeom_t::IsUpperRho(), TMVA::MethodPDERS::KernelNormalization(), TMVA::MethodPDERS::LanczosFilter(), TGeoChecker::LegoPlot(), Roo2DKeysPdf::loadDataSet(), RooKeysPdf::LoadDataSet(), TMVA::MethodPDERS::NormSinc(), TCrown::Paint(), TPie::Paint(), TSpider::Paint(), TArrow::PaintArrow(), TGaxis::PaintAxis(), TGraphPolargram::PaintCircle(), THistPainter::PaintColorLevels(), TGLAxis::PaintGLAxis(), TGraphPainter::PaintGraphPolar(), TPad::PaintHatches(), TGraphPolargram::PaintPolarDivisions(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), TVector2::Phi(), TParticle::Phi(), PiOver2(), PiOver4(), piRandom(), TRandom::Poisson(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Poisson(), TRandom::PoissonD(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::PoissonD(), TComplex::Power(), THistPainter::ProjectAitoff2xy(), RadToDeg(), TGeoChecker::RandomRays(), RooEllipse::RooEllipse(), RootsCubic(), TEveLegoEventHandler::Rotate(), TGLCamera::Rotate(), TGLCamera::RotateArcBall(), TAttParticle::SampleMass(), TGeoRotation::SetAngles(), TGraphPolargram::SetAxisAngle(), TGX11::SetCharacterUp(), TGeoHelix::SetHelixStep(), TEveCaloVizEditor::SetModel(), TPARA::SetPoints(), TGTRA::SetPoints(), TTRAP::SetPoints(), TMarker3DBox::SetPoints(), TParticle::SetPolarisation(), THelix::SetRange(), TTF::SetRotationMatrix(), THelix::SetRotMatrix(), TGraphPolargram::SetToRadian(), TGraphPolargram::SetTwoPi(), TGLPerspectiveCamera::Setup(), TGeoChecker::ShapeDistances(), TGeoChecker::ShapeNormal(), TGeoChecker::ShapeSafety(), SingularFun(), StruveH0(), StruveH1(), StruveL0(), StruveL1(), Student(), TestMaxMin(), TestRoot(), TEveCaloVizEditor::TEveCaloVizEditor(), TPDF::Text(), TPostScript::Text(), TGeoChecker::TimingPerVolume(), ROOT::v5::TMath_GenerInterface(), TH1::TransformHisto(), TGSpeedo::Translate(), TwoPi(), TSpider::UpdateView(), and TEveCaloLegoGL::WrapTwoPi().

Double_t TMath::PiOver2 ( )
inline
Double_t TMath::PiOver4 ( )
inline

Definition at line 47 of file TMath.h.

Referenced by TPie::ExecuteEvent(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::Poisson ( Double_t  x,
Double_t  par 
)

compute the Poisson distribution function for (x,par) The Poisson PDF is implemented by means of Euler's Gamma-function (for the factorial), so for any x integer argument it is correct.

BUT for non-integer x values, it IS NOT equal to the Poisson distribution. see TMath::PoissonI to get a non-smooth function. Note that for large values of par, it is better to call TMath::Gaus(x,par,sqrt(par),kTRUE) Begin_Html

Definition at line 564 of file TMath.cxx.

Referenced by RooPoisson::analyticalIntegral(), RooHistConstraint::evaluate(), RooPoisson::evaluate(), TFeldmanCousins::Prob(), RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::PoissonI ( Double_t  x,
Double_t  par 
)

compute the Poisson distribution function for (x,par) This is a non-smooth function.

This function is equivalent to ROOT::Math::poisson_pdf Begin_Html

Definition at line 592 of file TMath.cxx.

Referenced by TRolke::GetLimitsML(), TRolke::GetLimitsQuantile(), TRolke::GetSensitivity(), RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

LongDouble_t TMath::Power ( LongDouble_t  x,
LongDouble_t  y 
)
inline

Definition at line 501 of file TMath.h.

Referenced by TMVA::MethodBDT::AdaBoost(), TMVA::MethodBDT::AdaBoostR2(), RooArgusBG::analyticalIntegral(), RooCBShape::analyticalIntegral(), ROOT::Math::GoFTest::AndersonDarling2SamplesTest(), TGeoMixture::AverageProperties(), TGraphSmooth::BDRsupsmu(), BetaDist(), BinomialI(), RooGExpModel::calcDecayConv(), Roo2DKeysPdf::calculateBandWidth(), RooNDKeysPdf::calculateBandWidth(), Roo1DMomentMorphFunction::calculateFractions(), RooMomentMorph::CacheElem::calculateFractions(), ChisquareQuantile(), ClassImp(), TSpectrum3::Deconvolution(), TSpectrum2::Deconvolution(), TSpectrum::Deconvolution(), TSpectrum::DeconvolutionRL(), TMatrixTSym< Element >::Determinant(), TMatrixT< Element >::Determinant(), TEveProjectionAxesGL::DirectDraw(), TGraphPolargram::DistancetoPrimitive(), Rgl::Draw2DAxis(), Rgl::DrawPaletteAxis(), TCreatePrimitives::Ellipse(), TSpectrumTransform::Enhance(), TMVA::MethodFDA::EstimatorFunction(), TTreeFormula::EvalInstance(), RooArgusBG::evaluate(), RooDstD0BG::evaluate(), RooNovosibirsk::evaluate(), RooCBShape::evaluate(), RooBukinPdf::evaluate(), THistPainter::ExecuteEvent(), TPad::ExecuteEventAxis(), TUnfoldBinning::ExtractHistogram(), RooAbsData::fillHistogram(), TSpectrumTransform::FilterZonal(), ROOT::Fit::FitOptionsMake(), TSpectrum2Transform::General2(), RooNonCPEigenDecay::generateEvent(), TMVA::SimulatedAnnealing::GenerateNeighbour(), TUnfoldSys::GetBackground(), TPaletteAxis::GetObjectInfo(), TF1::GetRandom(), TSVDUnfold::GetUnfoldCovMatrix(), TSpectrumTransform::Haar(), TSpectrum2Transform::Haar(), TVirtualPacketizer::HandleTimer(), RooDataHist::importTH1(), RooDataHist::importTH1Set(), IncreaseReal(), Roo1DMomentMorphFunction::initialize(), RooMomentMorph::initialize(), TPostScript::Initialize(), TF1::IntegralMultiple(), TDecompLU::InvertLU(), TMVA::MethodPDERS::KernelNormalization(), TMVA::MethodPDERS::LanczosFilter(), TCreatePrimitives::Line(), Roo2DKeysPdf::loadDataSet(), RooNDKeysPdf::loadDataSet(), TPainter3dAlgorithms::Luminosity(), TMatrixDSymEigen::MakeEigenVectors(), TMatrixDEigen::MakeSchurr(), TMinuit::mnbins(), RooAbsData::moment(), TPDF::NewPage(), TMVA::MethodPDERS::NormSinc(), THLimitsFinder::Optimize(), TMVA::kNN::ModulekNN::Optimize(), TPaletteAxis::Paint(), THistPainter::PaintAxis(), TAxis3D::PaintAxis(), TGaxis::PaintAxis(), THistPainter::PaintErrors(), TGraphPainter::PaintGrapHist(), THistPainter::PaintHist(), THistPainter::PaintInit(), THistPainter::PaintInitH(), THistPainter::PaintLegoAxis(), TComplex::Power(), TQueryResult::Print(), TProofProgressDialog::Progress(), RealToDouble(), RooGrid::refine(), TUnfoldDensity::RegularizeOneDistribution(), TGLCameraOverlay::RenderBar(), TEveBoxSetGL::RenderBoxes(), TEveCaloLegoOverlay::RenderLogaritmicScales(), rescale_error(), RooTMathReg::RooTMathReg(), TEveTrackList::RoundMomentumLimit(), TH1::SavePrimitiveHelp(), TUnfold::ScanLcurve(), TUnfoldDensity::ScanTau(), TEveUtil::SetColorBrightness(), TGenPhaseSpace::SetDecay(), TMVA::SimulatedAnnealing::SetDefaultScale(), TEveProjection::SetDistortion(), TEveProjection::SetFixR(), TEveProjection::SetFixZ(), TMVA::KDEKernel::SetKernelType(), ROOT::Math::GoFTest::SetParameters(), TEveProjection::SetPastFixRFac(), TEveProjection::SetPastFixZFac(), TGeoMaterial::SetRadLen(), TGLAxisPainter::SetTextFormat(), SimpleFun(), SingularFun(), TMehrotraSolver::Solve(), TGondzioSolver::Solve(), TGeoTorus::SolveCubic(), RooAbsData::standMoment(), StrToReal(), Student(), StudentQuantile(), TUnfoldSys::SubtractBackground(), THistPainter::TableInit(), TCreatePrimitives::Text(), ROOT::v5::TMath_GenerInterface(), TSpectrumTransform::Transform(), TSpectrum::Unfolding(), and RooMCIntegrator::vegas().

LongDouble_t TMath::Power ( LongDouble_t  x,
Long64_t  y 
)
inline

Definition at line 504 of file TMath.h.

LongDouble_t TMath::Power ( Long64_t  x,
Long64_t  y 
)
inline

Definition at line 507 of file TMath.h.

Double_t TMath::Power ( Double_t  x,
Double_t  y 
)
inline

Definition at line 514 of file TMath.h.

Double_t TMath::Power ( Double_t  x,
Int_t  y 
)
inline

Definition at line 517 of file TMath.h.

Double_t TMath::Prob ( Double_t  chi2,
Int_t  ndf 
)

Computation of the probability for a certain Chi-squared (chi2) and number of degrees of freedom (ndf).

Calculations are based on the incomplete gamma function P(a,x), where a=ndf/2 and x=chi2/2.

P(a,x) represents the probability that the observed Chi-squared for a correct model should be less than the value chi2.

The returned probability corresponds to 1-P(a,x), which denotes the probability that an observed Chi-squared exceeds the value chi2 by chance, even for a correct model.

— NvE 14-nov-1998 UU-SAP Utrecht

Definition at line 619 of file TMath.cxx.

Referenced by TH1::Chi2TestX(), TFractionFitter::GetProb(), TF1::GetProb(), RooStats::BernsteinCorrection::ImportCorrectedPdf(), RooStats::LikelihoodInterval::IsInInterval(), TH2::KolmogorovTest(), TH3::KolmogorovTest(), TH1::KolmogorovTest(), THistPainter::PaintStat(), TGraphPainter::PaintStats(), RooChi2MCSModule::processAfterFit(), RooTMathReg::RooTMathReg(), and TMVA::PDF::ValidatePDF().

Double_t TMath::Qe ( )
inline

Definition at line 125 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::QeUncertainty ( )
inline

Definition at line 126 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

void TMath::Quantiles ( Int_t  n,
Int_t  nprob,
Double_t x,
Double_t quantiles,
Double_t prob,
Bool_t  isSorted = kTRUE,
Int_t index = 0,
Int_t  type = 7 
)

Computes sample quantiles, corresponding to the given probabilities Parameters: x -the data sample n - its size quantiles - computed quantiles are returned in there prob - probabilities where to compute quantiles nprob - size of prob array isSorted - is the input array x sorted? NOTE, that when the input is not sorted, an array of integers of size n needs to be allocated.

It can be passed by the user in parameter index, or, if not passed, it will be allocated inside the function

type - method to compute (from 1 to 9). Following types are provided: Discontinuous: type=1 - inverse of the empirical distribution function type=2 - like type 1, but with averaging at discontinuities type=3 - SAS definition: nearest even order statistic Piecwise linear continuous: In this case, sample quantiles can be obtained by linear interpolation between the k-th order statistic and p(k). type=4 - linear interpolation of empirical cdf, p(k)=k/n; type=5 - a very popular definition, p(k) = (k-0.5)/n; type=6 - used by Minitab and SPSS, p(k) = k/(n+1); type=7 - used by S-Plus and R, p(k) = (k-1)/(n-1); type=8 - resulting sample quantiles are approximately median unbiased regardless of the distribution of x. p(k) = (k-1/3)/(n+1/3); type=9 - resulting sample quantiles are approximately unbiased, when the sample comes from Normal distribution. p(k)=(k-3/8)/(n+1/4);

default type = 7

References: 1) Hyndman, R.J and Fan, Y, (1996) "Sample quantiles in statistical packages" American Statistician, 50, 361-365 2) R Project documentation for the function quantile of package {stats}

Definition at line 1173 of file TMath.cxx.

Referenced by TKDE::ComputeMidspread(), RooStats::HypoTestInverterResult::ExclusionCleanup(), RooStats::HypoTestInverterResult::GetExpectedLimit(), RooStats::HypoTestInverterResult::GetLimitDistribution(), TParallelCoordVar::GetQuantiles(), RooStats::HypoTestInverterPlot::MakeExpectedPlot(), TGraphQQ::Quartiles(), and testQuantiles().

Double_t TMath::QuietNaN ( )
inline
Double_t TMath::R ( )
inline
Double_t TMath::RadToDeg ( )
inline
Short_t TMath::Range ( Short_t  lb,
Short_t  ub,
Short_t  x 
)
inline
Int_t TMath::Range ( Int_t  lb,
Int_t  ub,
Int_t  x 
)
inline

Definition at line 237 of file TMathBase.h.

Long_t TMath::Range ( Long_t  lb,
Long_t  ub,
Long_t  x 
)
inline

Definition at line 240 of file TMathBase.h.

ULong_t TMath::Range ( ULong_t  lb,
ULong_t  ub,
ULong_t  x 
)
inline

Definition at line 243 of file TMathBase.h.

Double_t TMath::Range ( Double_t  lb,
Double_t  ub,
Double_t  x 
)
inline

Definition at line 246 of file TMathBase.h.

Double_t TMath::Rgair ( )
inline

Definition at line 119 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

template<typename T >
Double_t TMath::RMS ( Long64_t  n,
const T *  a,
const Double_t w = 0 
)
template<typename Iterator >
Double_t TMath::RMS ( Iterator  first,
Iterator  last 
)

Definition at line 864 of file TMath.h.

template<typename Iterator , typename WeightIterator >
Double_t TMath::RMS ( Iterator  first,
Iterator  last,
WeightIterator  wfirst 
)

Definition at line 889 of file TMath.h.

Bool_t TMath::RootsCubic ( const Double_t  coef[4],
Double_t a,
Double_t b,
Double_t c 
)

Calculates roots of polynomial of 3rd order a*x^3 + b*x^2 + c*x + d, where a == coef[3], b == coef[2], c == coef[1], d == coef[0] coef[3] must be different from 0 If the boolean returned by the method is false: ==> there are 3 real roots a,b,c If the boolean returned by the method is true: ==> there is one real root a and 2 complex conjugates roots (b+i*c,b-i*c) Author: Francois-Xavier Gentit.

Definition at line 1077 of file TMath.cxx.

Referenced by TRolke::EvalLikeMod2(), and TRolke::EvalLikeMod6().

Double_t TMath::RUncertainty ( )
inline

Definition at line 110 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

Double_t TMath::Sigma ( )
inline

Definition at line 100 of file TMath.h.

Referenced by TFormula::FillDefaults(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::SigmaUncertainty ( )
inline

Definition at line 101 of file TMath.h.

Referenced by ROOT::v5::TMath_GenerInterface().

template<typename T1 , typename T2 >
T1 TMath::Sign ( T1  a,
T2  b 
)
inline
Float_t TMath::Sign ( Float_t  a,
Float_t  b 
)
inline

Definition at line 158 of file TMathBase.h.

Double_t TMath::Sign ( Double_t  a,
Double_t  b 
)
inline

Definition at line 161 of file TMathBase.h.

LongDouble_t TMath::Sign ( LongDouble_t  a,
LongDouble_t  b 
)
inline

Definition at line 164 of file TMathBase.h.

Double_t TMath::SignalingNaN ( )
inline
template<typename Integer >
Bool_t TMath::SignBit ( Integer  a)
inline

Definition at line 139 of file TMathBase.h.

Bool_t TMath::SignBit ( Float_t  a)
inline

Definition at line 142 of file TMathBase.h.

Bool_t TMath::SignBit ( Double_t  a)
inline

Definition at line 145 of file TMathBase.h.

Bool_t TMath::SignBit ( LongDouble_t  a)
inline

Definition at line 148 of file TMathBase.h.

Referenced by Sign().

Double_t TMath::Sin ( Double_t  x)
inline

Definition at line 421 of file TMath.h.

Referenced by TLatex::Analyse(), ApplicationWindow::ApplicationWindow(), TTimeStamp::AsGAST(), TView3D::AxisVertex(), TPainter3dAlgorithms::BackBox(), TCurlyLine::Build(), TEveJetCone::CalcBaseVec(), TEveJetCone::CalcEtaPhiVec(), RooMomentMorph::CacheElem::calculateFractions(), TGeoChecker::CheckBoundaryErrors(), TGeoChecker::CheckGeometry(), TGeoChecker::CheckGeometryFull(), TRandom::Circle(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Circle(), ClassImp(), TGeoSphere::ComputeBBox(), TGeoTorus::ComputeBBox(), TGeoPgon::ComputeBBox(), TGeoCtub::ComputeBBox(), TGeoTube::ComputeNormal(), TGeoParaboloid::ComputeNormal(), TGeoPara::ComputeNormal(), TGeoCone::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoTorus::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoHype::ComputeNormal(), TGeoTubeSeg::ComputeNormal(), TGeoConeSeg::ComputeNormal(), TGeoCtub::ComputeNormal(), TGeoTube::ComputeNormalS(), TGeoCone::ComputeNormalS(), TGeoTubeSeg::ComputeNormalS(), TGeoConeSeg::ComputeNormalS(), TGeoPgon::Contains(), TComplex::Cos(), TComplex::CosH(), TGDMLWrite::CreateFakeCtub(), TGeoPatternSphPhi::CreateSinCos(), TEveCaloDataVec::DataChanged(), TEveCaloDataHist::DataChanged(), TView3D::DefinePerspectiveView(), TEllipse::DistancetoPrimitive(), TGraphPolargram::DistancetoPrimitive(), TPie::DistancetoSlice(), TGeoSphere::DistFromInside(), TGeoTorus::DistFromInside(), TGeoPgon::DistFromInside(), TGeoEltu::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoTorus::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoHype::DistToHype(), TGeoParaboloid::DistToParaboloid(), TGeoCtubEditor::DoApply(), TLatex::DrawCircle(), TASImage::DrawDashZLine(), TASImage::DrawDashZTLine(), TPie::DrawGhost(), TGLPadPainter::DrawGradient(), TLatex::DrawLine(), TLatex::DrawParenthesis(), TSpider::DrawPoly(), TSpider::DrawPolyAverage(), TSpectrumTransform::Enhance(), TTreeFormula::EvalInstance(), TCurlyArc::ExecuteEvent(), TText::ExecuteEvent(), TEllipse::ExecuteEvent(), TPie::ExecuteEvent(), TGraphPolargram::ExecuteEvent(), TPGON::FillTableOfCoSin(), TPCON::FillTableOfCoSin(), TSpectrumTransform::FilterZonal(), TView3D::FindPhiSectors(), TView3D::FindThetaSectors(), fitFunc(), TSpectrum2Transform::FourCos2(), TSpectrum2Transform::Fourier(), TSpectrumTransform::Fourier(), TPainter3dAlgorithms::FrontBox(), TSpectrum2Transform::General2(), TSpectrumTransform::GeneralExe(), TSpectrum2Transform::GeneralExe(), TSpectrumTransform::GeneralInv(), TSpectrum2Transform::GeneralInv(), TGenPhaseSpace::Generate(), TMVA::SimulatedAnnealing::GenerateNewTemperature(), TGeoRotation::GetAngles(), TGeoSphere::GetBoundingCylinder(), TSPHE::GetBuffer3D(), TText::GetControlBox(), TGeoPgon::GetPhiCrossList(), TGeoTube::GetPointsOnSegments(), TGeoCone::GetPointsOnSegments(), TGeoTubeSeg::GetPointsOnSegments(), TGeoConeSeg::GetPointsOnSegments(), TParticle::GetPolarisation(), TGeoMCGeometry::GetShape(), TPainter3dAlgorithms::GouraudFunction(), TGLLegoPainter::InitGeometryCylindrical(), TGLSurfacePainter::InitGeometryCylindrical(), TGLLegoPainter::InitGeometryPolar(), TGLSurfacePainter::InitGeometryPolar(), TGLLegoPainter::InitGeometrySpherical(), TGLSurfacePainter::InitGeometrySpherical(), TGeoTubeSeg::InitTrigonometry(), TGeoConeSeg::InitTrigonometry(), TGeoPgon::IsCrossingSlice(), TMVA::MethodPDERS::LanczosFilter(), TPainter3dAlgorithms::LegoCartesian(), TPainter3dAlgorithms::LegoCylindrical(), TGeoChecker::LegoPlot(), TPainter3dAlgorithms::LegoPolar(), TPainter3dAlgorithms::LegoSpherical(), TMultiDimFit::MakeGramSchmidt(), makePoints(), TEveCalo2DGL::MakeRhoZCell(), TEveCalo2DGL::MakeRPhiCell(), TTUBS::MakeTableOfCoSin(), TSPHE::MakeTableOfCoSin(), TTUBE::MakeTableOfCoSin(), TMinuit::mninex(), TMinuit::mnpint(), TMinuit::mnwerr(), TMVA::MethodPDERS::NormSinc(), TComplex::operator()(), TCrown::Paint(), TPie::Paint(), TSpider::Paint(), TAxis3D::PaintAxis(), TGaxis::PaintAxis(), TGraphPolargram::PaintCircle(), TEllipse::PaintEllipse(), TGraphPainter::PaintGraphPolar(), TPad::PaintHatches(), THistPainter::PaintLegoAxis(), TPave::PaintPaveArc(), TGraphPolargram::PaintPolarDivisions(), TGraphPainter::PaintPolyLineHatches(), TGraphPolargram::PaintRadialDivisions(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), THistPainter::ProjectAitoff2xy(), THistPainter::ProjectParabolic2xy(), TEveRPhiProjection::ProjectPoint(), TGeoChecker::RandomRays(), TRandom::Rannor(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Rannor(), TGeoPainter::Raytrace(), TEveCalo3DGL::RenderBarrelCell(), TEveCalo3DGL::RenderEndCapCell(), TEveCalo3DGL::RenderGridBarrel(), TEveCalo3DGL::RenderGridEndCap(), TView3D::ResetView(), RooTMathReg::RooTMathReg(), TColorWheel::Rotate(), TVector2::Rotate(), TRotation::Rotate(), TGLMatrix::Rotate(), TEveTrans::RotateLF(), TGLMatrix::RotateLF(), TEveTrans::RotatePF(), TGLMatrix::RotatePF(), TRotation::RotateX(), TVector3::RotateX(), TGeoRotation::RotateX(), TGeoCombiTrans::RotateX(), TGeoHMatrix::RotateX(), TRotation::RotateY(), TVector3::RotateY(), TGeoRotation::RotateY(), TGeoCombiTrans::RotateY(), TGeoHMatrix::RotateY(), TRotation::RotateZ(), TVector3::RotateZ(), TGeoRotation::RotateZ(), TGeoCombiTrans::RotateZ(), TGeoHMatrix::RotateZ(), TGeoSphere::Safety(), TGeoShape::SafetyPhi(), TGeoTubeSeg::SafetyS(), TGeoPgon::SafetyToSegment(), THelix::SavePrimitive(), TRotMatrix::SetAngles(), TGeoRotation::SetAngles(), TGeoPara::SetDimensions(), TGeoPcon::SetDimensions(), TGeoTrap::SetDimensions(), TGeoGtra::SetDimensions(), TVector2::SetMagPhi(), TVector3::SetMagThetaPhi(), TVector3::SetPhi(), TPARA::SetPoints(), TGTRA::SetPoints(), TTRAP::SetPoints(), TGeoEltu::SetPoints(), TMarker3DBox::SetPoints(), TGeoParaboloid::SetPoints(), TGeoTube::SetPoints(), TGeoTorus::SetPoints(), TGeoSphere::SetPoints(), TGeoCone::SetPoints(), TGeoPgon::SetPoints(), TGeoPcon::SetPoints(), TGeoHype::SetPoints(), TGeoTubeSeg::SetPoints(), TGeoConeSeg::SetPoints(), TGeoCtub::SetPoints(), TVector3::SetPtEtaPhi(), TLorentzVector::SetPtEtaPhiE(), TLorentzVector::SetPtEtaPhiM(), TVector3::SetPtThetaPhi(), THelix::SetRange(), TTF::SetRotationMatrix(), TEveTrans::SetRotByAngles(), TVector3::SetTheta(), TEveTrans::SetupRotation(), TGeoChecker::ShapeDistances(), TGeoChecker::ShapeNormal(), TGeoChecker::ShapeSafety(), TPainter3dAlgorithms::SideVisibilityEncode(), SimpleFun(), TComplex::Sin(), TComplex::SinH(), TSPHE::Sizeof3D(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), TGeoHelix::Step(), TEveTrackPropagator::StepRungeKutta(), StudentQuantile(), TPainter3dAlgorithms::SurfaceCartesian(), TPainter3dAlgorithms::SurfaceCylindrical(), TPainter3dAlgorithms::SurfacePolar(), TPainter3dAlgorithms::SurfaceSpherical(), TEvePointSet::TakeAction(), TEvePointSetArray::TakeAction(), TSpline5::Test(), TPDF::Text(), TPostScript::Text(), TGeoGtra::TGeoGtra(), TGeoPara::TGeoPara(), TGeoPatternCylPhi::TGeoPatternCylPhi(), TGeoPatternTrapZ::TGeoPatternTrapZ(), TGeoPcon::TGeoPcon(), TGeoTrap::TGeoTrap(), TGeoChecker::TimingPerVolume(), ROOT::v5::TMath_GenerInterface(), TGeoTorus::ToBoundary(), TSpectrumTransform::Transform(), TEveTrackPropagator::Helix_t::UpdateHelix(), TSpider::UpdateView(), TEveCaloData::CellData_t::Value(), XRotCreateTextItem(), XRotPaintAlignedString(), and XRotTextExtents().

Double_t TMath::SinH ( Double_t  x)
inline
template<typename Element , typename Index >
void TMath::Sort ( Index  n,
const Element *  a,
Index *  index,
Bool_t  down = kTRUE 
)
template<typename Iterator , typename IndexIterator >
void TMath::SortItr ( Iterator  first,
Iterator  last,
IndexIterator  index,
Bool_t  down = kTRUE 
)
Double_t TMath::Sq ( Double_t  x)
inline

Definition at line 461 of file TMath.h.

Double_t TMath::Sqrt ( Double_t  x)
inline

Definition at line 464 of file TMath.h.

Referenced by TGLScenePad::AddHistoPhysical(), TVector3::Angle(), TRotation::AngleAxis(), TGeoBBox::AreOverlapping(), BesselI0(), TLorentzVector::Boost(), TCurlyLine::Build(), TKDEFGT::BuildModel(), TMVA::DecisionTree::BuildTree(), TMVA::VariableTransformBase::CalcNorm(), TMVA::RuleEnsemble::CalcRuleSupport(), TMVA::BinarySearchTree::CalcStatistics(), TMVA::TransformationHandler::CalcStats(), TEveLine::CalculateLineLength(), TMVA::MethodPDEFoam::CalculateMVAError(), TGeoChecker::CheckBoundaryErrors(), TGeoChecker::CheckOverlapsBySampling(), TH1::Chi2TestX(), ChisquareQuantile(), ClassImp(), RooStats::HybridResult::CLbError(), RooStats::HybridResult::CLsError(), RooStats::HypoTestResult::CLsError(), RooStats::HybridResult::CLsplusbError(), Compare(), TGeoHype::ComputeBBox(), TEveBoxSet::ComputeBBox(), TGeoEltu::ComputeNormal(), TGeoTube::ComputeNormal(), TGeoTrd1::ComputeNormal(), TGeoTrd2::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoCone::ComputeNormal(), TGeoPara::ComputeNormal(), TGeoParaboloid::ComputeNormal(), TGeoTorus::ComputeNormal(), TGeoPcon::ComputeNormal(), TGeoArb8::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoHype::ComputeNormal(), TGeoTubeSeg::ComputeNormal(), TGeoConeSeg::ComputeNormal(), TGeoCtub::ComputeNormal(), TGeoCone::ComputeNormalS(), TGeoTubeSeg::ComputeNormalS(), TGeoConeSeg::ComputeNormalS(), TGeoHelix::ComputeSafeStep(), TLinearFitter::ComputeTValues(), TGeoSphere::Contains(), TGeoTorus::Contains(), THbookFile::ConvertProfile(), TRobustEstimator::Correl(), TRobustEstimator::Covar(), Rgl::CylindricalNormal(), Rgl::CylindricalNormalInv(), TGeoTorus::Daxis(), TGeoTorus::DDaxis(), TGeoTorus::DDDaxis(), TMVA::MethodMLP::DecaySynapseWeights(), TDecompChol::Decompose(), TDecompBK::Decompose(), DefHouseHolder(), TQpSolverBase::DefStart(), TVector3::DeltaR(), TLorentzVector::DeltaR(), TSpectrum2Fit::Deramp2(), TSpectrum2Fit::Derampx(), TSpectrum2Fit::Derbx(), TSpectrum2Fit::Derby(), TSpectrum2Fit::Deri01(), TSpectrum2Fit::Deri02(), TSpectrum2Fit::Derj02(), TSpectrum2Fit::Derpa2(), TSpectrum2Fit::Derpro(), TSpectrum2Fit::Derpsigmax(), TSpectrum2Fit::Derpsigmay(), TSpectrum2Fit::Dersigmax(), TSpectrum2Fit::Dersigmay(), TSpectrum2Fit::Dersx(), TSpectrum2Fit::Dersxy(), TSpectrum2Fit::Dersy(), TSpectrum2Fit::Dertx(), TSpectrum2Fit::Dertxy(), TSpectrum2Fit::Derty(), TDecompSVD::Diag_3(), TGLRect::Diagonal(), TEveProjectionAxesGL::DirectDraw(), TKDTree< Index, Value >::Distance(), TEveVectorT< TT >::Distance(), TEveVector2T< TT >::Distance(), TPoints3DABC::DistancetoLine(), TKDTree< Index, Value >::DistanceToNode(), TCrown::DistancetoPrimitive(), TCurlyArc::DistancetoPrimitive(), TPointsArray3D::DistancetoPrimitive(), TMarker::DistancetoPrimitive(), TPolyMarker3D::DistancetoPrimitive(), TPrimary::DistancetoPrimitive(), TEllipse::DistancetoPrimitive(), TGraphPolargram::DistancetoPrimitive(), TPie::DistancetoSlice(), TGeoEltu::DistFromInside(), TGeoSphere::DistFromInside(), TGeoArb8::DistFromInside(), TGeoCone::DistFromInsideS(), TGeoTubeSeg::DistFromInsideS(), TGeoConeSeg::DistFromInsideS(), TGeoEltu::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoPcon::DistFromOutside(), TGeoCtub::DistFromOutside(), TGeoTube::DistFromOutsideS(), TGeoCone::DistFromOutsideS(), TGeoTubeSeg::DistFromOutsideS(), TGeoConeSeg::DistFromOutsideS(), TGeoCone::DistToCone(), TGeoConeSeg::DistToCons(), TGeoHype::DistToHype(), TGeoParaboloid::DistToParaboloid(), TGeoArb8::DistToPlane(), TGeoSphere::DistToSphere(), TGeoTube::DistToTube(), TPad::DivideSquare(), TGeoHypeEditor::DoDz(), TH1::DoIntegral(), TH3::DoProject1D(), TH3::DoProject2D(), TH2::DoProjection(), TH2::DoQuantiles(), TGeoHypeEditor::DoRin(), TGeoHypeEditor::DoRout(), TGeoHypeEditor::DoStIn(), TGeoHypeEditor::DoStOut(), TUnfold::DoUnfold(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TGLAxisPainterBox::DrawAxis3D(), TGLPadPainter::DrawGradient(), TProofBenchRunCPU::DrawPerfPlots(), TProofBenchRunDataRead::DrawPerfProfiles(), TGLPolyMarker::DrawStars(), TSpectrumTransform::Enhance(), ErrorBand(), TMVA::RuleFitParams::ErrorRateRoc(), TLinearFitter::Eval(), TTreeFormula::EvalInstance(), TRolke::EvalLikeMod3(), TRolke::EvalLikeMod5(), TRolke::EvalLikeMod7(), RooStats::HistFactory::RooBarlowBeestonLL::evaluate(), TRobustEstimator::EvaluateUni(), TText::ExecuteEvent(), TFumili::ExecuteSetCommand(), TUnfoldBinning::ExtractHistogram(), RooFitResult::fillCorrMatrix(), TSpectrumTransform::FilterZonal(), TMVA::PDEFoamDiscriminant::Finalize(), TMVA::PDEFoamTarget::Finalize(), TGraphDelaunay::FindAllTriangles(), TGeoPatternParaX::FindNode(), TGeoPatternParaY::FindNode(), TGeoPatternCylR::FindNode(), TView3D::FindScope(), Roo2DMomentMorphFunction::findSquare(), TSpectrumFit::FitAwmi(), TSpectrum2Fit::FitAwmi(), TSpectrumFit::FitStiefel(), TSpectrum2Fit::FitStiefel(), TMVA::RuleFit::ForestStatistics(), TSpectrum2Transform::FourCos2(), TSpectrum2Transform::Fourier(), TSpectrumTransform::Fourier(), TMVA::LDA::FSub(), TLorentzVector::Gamma(), TMLPAnalyzer::GatherInformations(), TSpectrum2Transform::General2(), TSpectrumTransform::GeneralExe(), TSpectrum2Transform::GeneralExe(), TSpectrumTransform::GeneralInv(), TSpectrum2Transform::GeneralInv(), TGenPhaseSpace::Generate(), RooGamma::generateEvent(), TMVA::SimulatedAnnealing::GenerateNewTemperature(), TH1::GetAsymmetry(), TGeoHype::GetAxisRange(), TUnfoldSys::GetBackground(), TAxis::GetBinCenterLog(), TH1K::GetBinError(), TProfileHelper::GetBinError(), TH2Poly::GetBinError(), THnBase::GetBinError(), TH1::GetBinError(), TGeoHype::GetBoundingCylinder(), TFitter::GetConfidenceIntervals(), TLinearFitter::GetConfidenceIntervals(), RooStats::HistFactory::HistFactoryNavigation::GetConstraintUncertainty(), TMVA::Tools::GetCorrelationMatrix(), TView3D::GetDistancetoAxis(), TMVA::MethodCuts::GetEfficiency(), TMVA::MethodBase::GetEfficiency(), TMVA::ROCCalc::GetEffSForEffBof(), TLinearFitter::GetErrors(), TGraphAsymmErrors::GetErrorX(), TGraphBentErrors::GetErrorX(), TGraphAsymmErrors::GetErrorY(), TGraphBentErrors::GetErrorY(), TView3D::GetExtent(), TMVA::MethodFisher::GetFisherCoeff(), TMVA::DecisionTree::GetFisherCoefficients(), TUnfold::GetFoldedOutput(), TEveCaloLegoGL::GetGridStep(), TUnfold::GetInput(), TH1::GetKurtosis(), TH1::GetMean(), TStatistic::GetMeanErr(), TMVA::MethodKNN::GetMvaValue(), TMVA::ExpectedErrorPruneTool::GetNodeError(), TMVA::MethodPDERS::GetNormalizedDistance(), TUnfold::GetOutput(), TLinearFitter::GetParError(), TGeoPgon::GetPhiCrossList(), TGeoXtru::GetPlaneNormal(), TGeoArb8::GetPlaneNormal(), TGeoTube::GetPointsOnSegments(), TGeoCone::GetPointsOnSegments(), TGeoTubeSeg::GetPointsOnSegments(), TGeoConeSeg::GetPointsOnSegments(), TF1::GetQuantiles(), TF1::GetRandom(), TMVA::DecisionTree::GetRandomisedVariables(), TUnfold::GetRhoI(), TUnfold::GetRhoIFromMatrix(), TUnfold::GetRhoIJ(), TUnfoldDensity::GetRhoIJtotal(), TStatistic::GetRMS(), TGraph::GetRMS(), TEveTrans::GetScale(), TGeoMCGeometry::GetShape(), ROOT::Math::GoFTest::GetSigmaN(), TMVA::ROCCalc::GetSignificance(), TH1::GetSkewness(), TMVA::Tools::GetSQRootMatrix(), TH1::GetStdDev(), TEveTrackPropagator::Helix_t::GetStep(), TUnfold::GetTau(), TPrimary::GetTitle(), TSVDUnfold::GetUnfoldCovMatrix(), TMVA::MethodBDT::GetVariableImportance(), TGeoTrd1::GetVisibleCorner(), TGeoTrd2::GetVisibleCorner(), TRotation::GetXPhi(), TRotation::GetXPsi(), TGDMLWrite::GetXYZangles(), TPainter3dAlgorithms::GouraudFunction(), GraphFitChisquareFumili(), H1InitGaus(), TSpectrumTransform::Haar(), TSpectrum2Transform::Haar(), TProof::HandleSubmerger(), TH2Poly::Honeycomb(), TGraphDelaunay::InHull(), TMVA::MethodBDT::Init(), TGeoHelix::InitDirection(), TMultiGraph::InitGaus(), TGraph::InitGaus(), TPostScript::Initialize(), TGLUtil::InitializeIfNeeded(), TGraphDelaunay::Interpolate(), TUnfold::InvertMSparseSymmPos(), TGeoSphere::IsOnBoundary(), TGeoPatternCylR::IsOnBoundary(), TGeoSphere::IsPointInside(), TGeoNavigator::IsSafeStep(), TGeoNavigator::IsSameLocation(), ROOT::Math::GoFTest::KolmogorovSmirnovTest(), TH2::KolmogorovTest(), TH3::KolmogorovTest(), KolmogorovTest(), TH1::KolmogorovTest(), TPainter3dAlgorithms::LightSource(), TCreatePrimitives::Line(), TEveTrackPropagator::LineToBounds(), TGeoScale::LocalToMaster(), TGraphSmooth::Lowest(), TPainter3dAlgorithms::Luminosity(), TEveVectorT< Float_t >::Mag(), TVector3::Mag(), TLorentzVector::Mag(), TEveVector2T< TT >::Mag(), TMultiDimFit::MakeCoefficientErrors(), TMultiDimFit::MakeCoefficients(), TMultiDimFit::MakeCorrelation(), TMultiDimFit::MakeGramSchmidt(), MakeHaarMat(), TMatrixDEigen::MakeHessenBerg(), TPrincipal::MakeHistograms(), TMVA::RuleEnsemble::MakeLinearTerms(), TPrincipal::MakeNormalised(), TMultiDimFit::MakeParameterization(), TMVA::RuleEnsemble::MakeRules(), TMatrixDEigen::MakeSchurr(), TMatrixDSymEigen::MakeTridiagonal(), TArcBall::MapToSphere(), TPainter3dAlgorithms::MarchingCubeSurfacePenetration(), TProof::MarkBad(), TGeoScale::MasterToLocal(), Matrix4fSVD(), TFumili::Minimize(), TMinuit::mncros(), TMinuit::mnderi(), TMinuit::mneig(), TMinuit::mnerrs(), TMinuit::mnhes1(), TMinuit::mnhess(), TMinuit::mninit(), TMinuit::mnmatu(), TMinuit::mnmnot(), TMinuit::mnparm(), TMinuit::mnpsdf(), TMinuit::mnset(), TMinuit::mnvert(), TMinuit::mnwerr(), TVector2::Mod(), TView3D::MoveFocus(), TLorentzVector::Mt(), THnBase::Multiply(), TPDF::NewPage(), TQuaternion::Norm(), TEveTrans::Norm3Column(), TGeoMatrix::Normalize(), Normalize(), TMatrixTBase< Element >::NormByDiag(), NormQuantile(), TParticle::P(), THStack::Paint(), TPrimary::Paint(), TArrow::PaintArrow(), THistPainter::PaintArrows(), TGaxis::PaintAxis(), TGLAxisPainter::PaintAxis(), THistPainter::PaintBoxes(), TGLAxis::PaintGLAxis(), TMultiGraph::PaintPads(), TEveVectorT< Float_t >::Perp(), TVector3::Perp(), pirndm(), TMVA::TransformationHandler::PlotVariables(), TPolyLineShape::PointDistancetoPrimitive(), TRandom::Poisson(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Poisson(), TRandom::PoissonD(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::PoissonD(), TUnfoldSys::PrepareSysError(), TLinearFitter::PrintResults(), TRolke::ProfLikeMod1(), THistPainter::ProjectAitoff2xy(), THnBase::ProjectionAny(), TEveRhoZProjection::ProjectPoint(), TEveRPhiProjection::ProjectPoint(), TParticle::Pt(), TParticle::R(), TMatrixTSparse< Element >::RandomizePD(), TRandom::Rannor(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Rannor(), TGeoPainter::Raytrace(), TH1::Rebin(), TH3::Rebin3D(), TEveLine::ReduceSegmentLengths(), TGLCameraOverlay::RenderAxis(), TEveBoxSetGL::RenderBoxes(), TEveQuadSetGL::RenderHexagons(), TGLCameraOverlay::RenderPlaneIntersect(), TGX11::RequestLocator(), TGWin32::RequestLocator(), TGLOrthoCamera::Reset(), TComplex::Rho(), TParticle::Rho(), TMVA::RuleFitParams::RiskPerfTst(), TMVA::Tools::RMS(), RMS(), RooTMathReg::RooTMathReg(), RootsCubic(), TVector3::RotateUz(), TMVA::RuleEnsemble::RuleStatistics(), TGeoEltu::Safety(), TGeoPolygon::Safety(), TGeoTrd1::Safety(), TGeoTrd2::Safety(), TGeoParaboloid::Safety(), TGeoTube::Safety(), TGeoPara::Safety(), TGeoTorus::Safety(), TGeoSphere::Safety(), TGeoCone::Safety(), TGeoArb8::Safety(), TGeoPcon::Safety(), TGeoTubeSeg::Safety(), TGeoTrap::Safety(), TGeoCtub::Safety(), TGeoShape::SafetyPhi(), TGeoTube::SafetyS(), TGeoCone::SafetyS(), TGeoTubeSeg::SafetyS(), TGeoShape::SafetySeg(), TGeoHype::SafetyToHype(), TGeoPgon::SafetyToSegment(), TGeoOverlap::SampleOverlap(), TGeoChecker::SamplePoints(), TProfile::SavePrimitive(), TProfile3D::SavePrimitive(), TProfile2D::SavePrimitive(), TStructViewerGUI::Scale(), TUnfold::ScanLcurve(), TUnfoldDensity::ScanTau(), TSpectrum3::SearchFast(), TSpectrum3::SearchHighRes(), TSpectrum2::SearchHighRes(), TSpectrum::SearchHighRes(), TMVA::RuleEnsemble::SetAverageRuleSigma(), THelix::SetAxis(), TLorentzRotation::SetBoost(), TEveRhoZProjection::SetCenter(), TGX11::SetCharacterUp(), TGWin32::SetCharacterUp(), TRolke::SetCLSigmas(), TGeoHalfSpace::SetDimensions(), TGeoHelix::SetField(), TLine::SetHorizontal(), TMVA::KDEKernel::SetKernelType(), ROOT::Math::GoFTest::SetParameters(), TParticle::SetPdgCode(), TSPHE::SetPoints(), TGeoEltu::SetPoints(), TGeoParaboloid::SetPoints(), TGeoHype::SetPoints(), TParticle::SetPolarisation(), TEveTrans::SetScale(), TEveTrans::SetScaleX(), TEveTrans::SetScaleY(), TEveTrans::SetScaleZ(), TMVA::Rule::SetSupport(), TLine::SetVertical(), TLorentzVector::SetXYZM(), TSpectrum2Fit::Shape2(), TGeoChecker::ShapeDistances(), TShape::ShapeDistancetoPrimitive(), TGeoPainter::ShapeDistancetoPrimitive(), TGeoChecker::ShapeNormal(), TPrimary::Sizeof3D(), TGraphPainter::Smooth(), TMVA::PDF::SmoothHistogram(), TSpectrum3::SmoothMarkov(), TSpectrum2::SmoothMarkov(), TSpectrum::SmoothMarkov(), TGeoTorus::SolveCubic(), TGeoTorus::SolveQuartic(), TRandom::Sphere(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Sphere(), Rgl::SphericalNormal(), Rgl::SphericalNormalInv(), TComplex::Sqrt(), TVectorT< Element >::Sqrt(), TMatrixTBase< Element >::Sqrt(), TMVA::MethodBase::Statistics(), TGeoHelix::Step(), TEveTrackPropagator::StepRungeKutta(), TQpSolverBase::SteveStart(), StruveL0(), StruveL1(), Student(), StudentQuantile(), TSelHist::Terminate(), TMultiDimFit::TestFunction(), TestNeighbors(), TestRange(), TMVA::MethodBase::TestRegression(), ROOT::v5::TMath_GenerInterface(), TGeoTorus::ToBoundary(), TMultiLayerPerceptron::Train(), TMVA::DecisionTree::TrainNodeFast(), TMVA::DecisionTree::TrainNodeFull(), TSpectrumTransform::Transform(), TH1::TransformHisto(), TSVDUnfold::Unfold(), TVector3::Unit(), TEveTrackPropagator::Update(), TGeoHelix::UpdateHelix(), TEveTrackPropagator::Helix_t::UpdateHelix(), Vector3dLength(), TSpectrum2Fit::Volume(), TSpectrumTransform::Walsh(), TSpectrum2Transform::Walsh(), TGeoChecker::Weight(), TMVA::PDEFoamKernelGauss::WeightGaus(), and TPainter3dAlgorithms::ZDepth().

Double_t TMath::Sqrt2 ( )
inline
template<typename T >
Double_t TMath::StdDev ( Long64_t  n,
const T *  a,
const Double_t w = 0 
)

Definition at line 311 of file TMath.h.

template<typename Iterator >
Double_t TMath::StdDev ( Iterator  first,
Iterator  last 
)

Definition at line 312 of file TMath.h.

template<typename Iterator , typename WeightIterator >
Double_t TMath::StdDev ( Iterator  first,
Iterator  last,
WeightIterator  wfirst 
)

Definition at line 313 of file TMath.h.

Double_t TMath::StruveH0 ( Double_t  x)

Struve Functions of Order 0.

Converted from CERNLIB M342 by Rene Brun.

Definition at line 1740 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::StruveH1 ( Double_t  x)

Struve Functions of Order 1.

Converted from CERNLIB M342 by Rene Brun.

Definition at line 1809 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::StruveL0 ( Double_t  x)

Modified Struve Function of Order 0.

By Kirill Filimonov.

Definition at line 1886 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::StruveL1 ( Double_t  x)

Modified Struve Function of Order 1.

By Kirill Filimonov.

Definition at line 1932 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::Student ( Double_t  T,
Double_t  ndf 
)

Computes density function for Student's t- distribution (the probability function (integral of density) is computed in StudentI).

First parameter stands for x - the actual variable of the density function p(x) and the point at which the density is calculated. Second parameter stands for number of degrees of freedom.

About Student distribution: Student's t-distribution is used for many significance tests, for example, for the Student's t-tests for the statistical significance of difference between two sample means and for confidence intervals for the difference between two population means.

Example: suppose we have a random sample of size n drawn from normal distribution with mean Mu and st.deviation Sigma. Then the variable

t = (sample_mean - Mu)/(sample_deviation / sqrt(n))

has Student's t-distribution with n-1 degrees of freedom.

NOTE that this function's second argument is number of degrees of freedom, not the sample size.

As the number of degrees of freedom grows, t-distribution approaches Normal(0,1) distribution. Implementation by Anna Kreshuk.

Definition at line 2508 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::StudentI ( Double_t  T,
Double_t  ndf 
)

Calculates the cumulative distribution function of Student's t-distribution second parameter stands for number of degrees of freedom, not for the number of samples if x has Student's t-distribution, the function returns the probability of x being less than T.

Implementation by Anna Kreshuk.

Definition at line 2529 of file TMath.cxx.

Referenced by TLinearFitter::ComputeTValues(), RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::StudentQuantile ( Double_t  p,
Double_t  ndf,
Bool_t  lower_tail = kTRUE 
)

Computes quantiles of the Student's t-distribution 1st argument is the probability, at which the quantile is computed 2nd argument - the number of degrees of freedom of the Student distribution When the 3rd argument lower_tail is kTRUE (default)- the algorithm returns such x0, that P(x < x0)=p upper tail (lower_tail is kFALSE)- the algorithm returns such x0, that P(x > x0)=p the algorithm was taken from G.W.Hill, "Algorithm 396, Student's t-quantiles" "Communications of the ACM", 13(10), October 1970.

Definition at line 2553 of file TMath.cxx.

Referenced by TFitter::GetConfidenceIntervals(), TLinearFitter::GetConfidenceIntervals(), ROOT::Fit::FitResult::GetConfidenceIntervals(), and RooTMathReg::RooTMathReg().

Double_t TMath::Tan ( Double_t  x)
inline

Definition at line 427 of file TMath.h.

Referenced by TRandom::BreitWigner(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::BreitWigner(), TGeoPgon::Capacity(), ClassImp(), TGeoHypeEditor::DoApply(), TGLViewer::DoDrawStereo(), TGeoHypeEditor::DoDz(), TGeoHypeEditor::DoRin(), TGeoHypeEditor::DoRout(), TGeoHypeEditor::DoStIn(), TGeoHypeEditor::DoStOut(), TTreeFormula::EvalInstance(), TGeoMCGeometry::GetShape(), TEveCaloViz::GetTransitionEta(), TEveCaloViz::GetTransitionEtaBackward(), TEveCaloViz::GetTransitionEtaForward(), TArrow::PaintArrow(), THistPainter::PaintLego(), TGraphPolargram::PaintPolarDivisions(), THistPainter::PaintSurface(), TRandom::Poisson(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Poisson(), TRandom::PoissonD(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::PoissonD(), THistPainter::ProjectMercator2xy(), TEveCalo3DGL::RenderBarrelCell(), TEveCalo3DGL::RenderEndCapCell(), TEveCalo3DGL::RenderGridBarrel(), TEveCalo3DGL::RenderGridEndCap(), RooTMathReg::RooTMathReg(), TEveLegoEventHandler::Rotate(), TAttParticle::SampleMass(), TGeoPara::SetDimensions(), TGeoTrap::SetDimensions(), TGeoHype::SetHypeDimensions(), TPARA::SetPoints(), TGTRA::SetPoints(), TTRAP::SetPoints(), TGeoParaboloid::SetPoints(), TVector3::SetPtEtaPhi(), TVector3::SetPtThetaPhi(), TGLPerspectiveCamera::Setup(), TGeoPara::TGeoPara(), TGeoPatternTrapZ::TGeoPatternTrapZ(), TGeoTrap::TGeoTrap(), ROOT::v5::TMath_GenerInterface(), TGLPerspectiveCamera::Truck(), and XRotCreateTextItem().

Double_t TMath::TanH ( Double_t  x)
inline
Double_t TMath::TwoPi ( )
inline
Double_t TMath::Vavilov ( Double_t  x,
Double_t  kappa,
Double_t  beta2 
)

Returns the value of the Vavilov density function Parameters: 1st - the point were the density function is evaluated 2nd - value of kappa (distribution parameter) 3rd - value of beta2 (distribution parameter) The algorithm was taken from the CernLib function vavden(G115) Reference: A.Rotondi and P.Montagna, Fast Calculation of Vavilov distribution Nucl.Instr.

and Meth. B47(1990), 215-224 Accuracy: quote from the reference above: "The resuls of our code have been compared with the values of the Vavilov density function computed numerically in an accurate way: our approximation shows a difference of less than 3% around the peak of the density function, slowly increasing going towards the extreme tails to the right and to the left" Begin_Html

Definition at line 2620 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::VavilovI ( Double_t  x,
Double_t  kappa,
Double_t  beta2 
)

Returns the value of the Vavilov distribution function Parameters: 1st - the point were the density function is evaluated 2nd - value of kappa (distribution parameter) 3rd - value of beta2 (distribution parameter) The algorithm was taken from the CernLib function vavden(G115) Reference: A.Rotondi and P.Montagna, Fast Calculation of Vavilov distribution Nucl.Instr.

and Meth. B47(1990), 215-224 Accuracy: quote from the reference above: "The resuls of our code have been compared with the values of the Vavilov density function computed numerically in an accurate way: our approximation shows a difference of less than 3% around the peak of the density function, slowly increasing going towards the extreme tails to the right and to the left"

Definition at line 2653 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg(), and ROOT::v5::TMath_GenerInterface().

Double_t TMath::Voigt ( Double_t  xx,
Double_t  sigma,
Double_t  lg,
Int_t  r = 4 
)

Computation of Voigt function (normalised).

Voigt is a convolution of gauss(xx) = 1/(sqrt(2*pi)*sigma) * exp(xx*xx/(2*sigma*sigma) and lorentz(xx) = (1/pi) * (lg/2) / (xx*xx + lg*lg/4) functions.

The Voigt function is known to be the real part of Faddeeva function also called complex error function [2].

The algoritm was developed by J. Humlicek [1]. This code is based on fortran code presented by R. J. Wells [2]. Translated and adapted by Miha D. Puc

To calculate the Faddeeva function with relative error less than 10^(-r). r can be set by the the user subject to the constraints 2 <= r <= 5.

[1] J. Humlicek, JQSRT, 21, 437 (1982). [2] R.J. Wells "Rapid Approximation to the Voigt/Faddeeva Function and its Derivatives" JQSRT 62 (1999), pp 29-48. http://www-atm.physics.ox.ac.uk/user/wells/voigt.html

Definition at line 875 of file TMath.cxx.

Referenced by RooTMathReg::RooTMathReg().