#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 | |
TGraph * | drawPoints (Double_t x[], Double_t y[], int color, int style=1) |
int | testSpecFuncBetaI () |
int | main (int argc, char **argv) |
Variables | |
const double | ERRORLIMIT = 1E-8 |
const double | MIN = 0 |
const double | MAX = 1 |
const double | INCREMENT = 0.01 |
const int | ARRAYSIZE = (int) (( MAX - MIN ) / INCREMENT) + 1 |
bool | showGraphics = true |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 100 of file testSpecFuncBetaI.cxx.
References TApplication::Run(), and testSpecFuncBetaI().
int testSpecFuncBetaI | ( | ) |
Definition at line 38 of file testSpecFuncBetaI.cxx.
References a, TLegend::AddEntry(), ARRAYSIZE, b, TMath::BetaIncomplete(), c1, TH1::Draw(), TLegend::Draw(), drawPoints(), ERRORLIMIT, ROOT::Math::fabs(), hpx, i, ROOT::Math::inc_beta(), INCREMENT, kFALSE, legend, MAX, MIN, TH1::SetStats(), TCanvas::Show(), and x.
Referenced by main().
Definition at line 21 of file testSpecFuncBetaI.cxx.
const double ERRORLIMIT = 1E-8 |
Definition at line 17 of file testSpecFuncBetaI.cxx.
Definition at line 20 of file testSpecFuncBetaI.cxx.
Definition at line 19 of file testSpecFuncBetaI.cxx.
Definition at line 18 of file testSpecFuncBetaI.cxx.
bool showGraphics = true |
Definition at line 23 of file testSpecFuncBetaI.cxx.