I’d like to build my KDE by iteratively calling
TKDE::Fill (I read entries from a
TTree), instead of following the standard approach of providing all data at once (see
tutorials/math/exampleTKDE.C). The following:
auto kde = new TKDE(0, nullptr, 0, 5, "", 1); // or variations kde->Fill(2); kde->GetValue(2); // nan kde->Draw(); // errors
does not work. I tried to construct the object in many different ways (e.g. by providing a non-
nullptr vector data), no way. Is it buggy or am I supposed to do something else?