Example of using the TKDE class (kernel density estimator)
void exampleTKDE(
int n = 1000) {
int nbin = 100;
std::vector<double>
data(
n);
for (
int i = 0; i <
n; ++i) {
}
else {
}
}
TF1 *
f1 =
new TF1(
"f1",
"0.4*ROOT::Math::normal_pdf(x,1,2)+0.6*ROOT::Math::normal_pdf(x,1.5,7)",
xmin,
xmax);
double rho = 1.0;
}
- Authors
- Lorenzo Moneta, Bartolomeu Rabacal (Dec 2010)
Definition in file exampleTKDE.C.