Example macro showcasing some special mathematical functions.
To execute the macro type in:
It will create a canvas with the representation of the tgamma, lgamma, erf and erfc functions.
f␕
TF1 *
f1a =
new TF1(
"f1a",
"ROOT::Math::tgamma(x)",0,20);
TF1 *
f2a =
new TF1(
"f2a",
"ROOT::Math::lgamma(x)",0,100);
TF1 *
f3a =
new TF1(
"f3a",
"ROOT::Math::erf(x)",0,5);
TF1 *
f4a =
new TF1(
"f4a",
"ROOT::Math::erfc(x)",0,5);
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
- Author
- Andras Zsenei
Definition in file mathcoreSpecFunc.C.