testSpecFuncBeta.cxx File Reference

#include <iostream>
#include <fstream>
#include <vector>
#include <cmath>
#include <TMath.h>
#include <Math/SpecFunc.h>
#include <TApplication.h>
#include <TCanvas.h>
#include <TH2F.h>
#include <TGraph.h>
#include <TLegend.h>

Go to the source code of this file.

Functions

TGraphdrawPoints (Double_t x[], Double_t y[], int color, int style=1)
int testSpecFuncBeta ()
int main (int argc, char **argv)

Variables

const double ERRORLIMIT = 1E-8
const double MIN = -2.5
const double MAX = +2.5
const double INCREMENT = 0.01
const int ARRAYSIZE = (int) (( MAX - MIN ) / INCREMENT) + 1
bool showGraphics = true


Function Documentation

TGraph* drawPoints ( Double_t  x[],
Double_t  y[],
int  color,
int  style = 1 
)

Definition at line 27 of file testSpecFuncBeta.cxx.

References ARRAYSIZE, and g.

Referenced by testSpecFuncBeta(), testSpecFuncBetaI(), testSpecFuncErf(), and testSpecFuncGamma().

int main ( int  argc,
char **  argv 
)

Definition at line 103 of file testSpecFuncBeta.cxx.

References TApplication::Run(), and testSpecFuncBeta().

int testSpecFuncBeta (  ) 

Definition at line 38 of file testSpecFuncBeta.cxx.

References TLegend::AddEntry(), ARRAYSIZE, b, ROOT::Math::beta(), TMath::Beta(), c1, TH1::Draw(), TLegend::Draw(), drawPoints(), ERRORLIMIT, ROOT::Math::fabs(), hpx, i, INCREMENT, kFALSE, legend, MAX, MIN, TH1::SetStats(), TCanvas::Show(), and x.

Referenced by main().


Variable Documentation

const int ARRAYSIZE = (int) (( MAX - MIN ) / INCREMENT) + 1

Definition at line 21 of file testSpecFuncBeta.cxx.

Referenced by drawPoints(), testSpecFuncBeta(), testSpecFuncBetaI(), testSpecFuncErf(), and testSpecFuncGamma().

const double ERRORLIMIT = 1E-8

Definition at line 17 of file testSpecFuncBeta.cxx.

const double INCREMENT = 0.01

Definition at line 20 of file testSpecFuncBeta.cxx.

Referenced by testSpecFuncBeta(), testSpecFuncBetaI(), testSpecFuncErf(), and testSpecFuncGamma().

const double MAX = +2.5

Definition at line 19 of file testSpecFuncBeta.cxx.

const double MIN = -2.5

Definition at line 18 of file testSpecFuncBeta.cxx.

bool showGraphics = true

Definition at line 23 of file testSpecFuncBeta.cxx.


Generated on Tue Jul 5 16:07:13 2011 for ROOT_528-00b_version by  doxygen 1.5.1