Logo ROOT  
Reference Guide
TMathBase.h File Reference
#include "Rtypes.h"
#include <cstdlib>
#include <cmath>
#include <algorithm>
Include dependency graph for TMathBase.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  CompareAsc< T >
 
struct  CompareDesc< T >
 

Namespaces

namespace  TMath
 TMath.
 

Functions

Double_t TMath::Abs (Double_t d)
 
Float_t TMath::Abs (Float_t d)
 
Int_t TMath::Abs (Int_t d)
 
Long64_t TMath::Abs (Long64_t d)
 
Long_t TMath::Abs (Long_t d)
 
LongDouble_t TMath::Abs (LongDouble_t d)
 
Short_t TMath::Abs (Short_t d)
 
template<typename Iterator , typename Element >
Iterator TMath::BinarySearch (Iterator first, Iterator last, Element value)
 
template<typename T >
Long64_t TMath::BinarySearch (Long64_t n, const T **array, T value)
 
template<typename T >
Long64_t TMath::BinarySearch (Long64_t n, const T *array, T value)
 
Bool_t TMath::Even (Long_t a)
 
Double_t TMath::Max (Double_t a, Double_t b)
 
Float_t TMath::Max (Float_t a, Float_t b)
 
Int_t TMath::Max (Int_t a, Int_t b)
 
Long64_t TMath::Max (Long64_t a, Long64_t b)
 
Long_t TMath::Max (Long_t a, Long_t b)
 
Short_t TMath::Max (Short_t a, Short_t b)
 
UInt_t TMath::Max (UInt_t a, UInt_t b)
 
ULong64_t TMath::Max (ULong64_t a, ULong64_t b)
 
ULong_t TMath::Max (ULong_t a, ULong_t b)
 
UShort_t TMath::Max (UShort_t a, UShort_t b)
 
Double_t TMath::Min (Double_t a, Double_t b)
 
Float_t TMath::Min (Float_t a, Float_t b)
 
Int_t TMath::Min (Int_t a, Int_t b)
 
Long64_t TMath::Min (Long64_t a, Long64_t b)
 
Long_t TMath::Min (Long_t a, Long_t b)
 
Short_t TMath::Min (Short_t a, Short_t b)
 
UInt_t TMath::Min (UInt_t a, UInt_t b)
 
ULong64_t TMath::Min (ULong64_t a, ULong64_t b)
 
ULong_t TMath::Min (ULong_t a, ULong_t b)
 
UShort_t TMath::Min (UShort_t a, UShort_t b)
 
Long_t TMath::NextPrime (Long_t x)
 TMath Base functions. More...
 
Bool_t TMath::Odd (Long_t a)
 
Double_t TMath::Range (Double_t lb, Double_t ub, Double_t x)
 
Int_t TMath::Range (Int_t lb, Int_t ub, Int_t x)
 
Long_t TMath::Range (Long_t lb, Long_t ub, Long_t x)
 
Short_t TMath::Range (Short_t lb, Short_t ub, Short_t x)
 
ULong_t TMath::Range (ULong_t lb, ULong_t ub, ULong_t x)
 
Double_t TMath::Sign (Double_t a, Double_t b)
 
Float_t TMath::Sign (Float_t a, Float_t b)
 
LongDouble_t TMath::Sign (LongDouble_t a, LongDouble_t b)
 
template<typename T1 , typename T2 >
T1 TMath::Sign (T1 a, T2 b)
 
Bool_t TMath::SignBit (Double_t a)
 
Bool_t TMath::SignBit (Float_t a)
 
template<typename Integer >
Bool_t TMath::SignBit (Integer a)
 
Bool_t TMath::SignBit (LongDouble_t a)
 
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)