32 void mathcoreSpecFunc() {
35 TF1 *f1a =
new TF1(
"f1a",
"ROOT::Math::tgamma(x)",0,20);
36 TF1 *f1b =
new TF1(
"f1b",
"abs((ROOT::Math::tgamma(x)-TMath::Gamma(x))/ROOT::Math::tgamma(x))",0,20);
38 TF1 *f2a =
new TF1(
"f2a",
"ROOT::Math::lgamma(x)",0,100);
39 TF1 *f2b =
new TF1(
"f2b",
"abs((ROOT::Math::lgamma(x)-TMath::LnGamma(x))/ROOT::Math::lgamma(x))",0,100);
41 TF1 *f3a =
new TF1(
"f3a",
"ROOT::Math::erf(x)",0,5);
42 TF1 *f3b =
new TF1(
"f3b",
"abs((ROOT::Math::erf(x)-TMath::Erf(x))/ROOT::Math::erf(x))",0,5);
44 TF1 *f4a =
new TF1(
"f4a",
"ROOT::Math::erfc(x)",0,5);
45 TF1 *f4b =
new TF1(
"f4b",
"abs((ROOT::Math::erfc(x)-TMath::Erfc(x))/ROOT::Math::erfc(x))",0,5);
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.
virtual void Draw(Option_t *option="")
Draw this function with its current attributes.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
R__EXTERN TSystem * gSystem
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.