Chisquared_cdf is not a member of ROOT::Math

Hello.
When I try to call ROOT::Math::chisquared_cdf(…,…) in my C++ program I get a message saying that ‘chisquared_cdf’ is not a member of ‘ROOT::Math’.

What is wrong?

Thanks

OK I have the answer.
You need to #include:

#include “Math/ProbFunc.h”

In the same line, does anyone know what library I should include to be able to compile a script where I use binomial_pdf?

Hi @Fleco ,
that would be in MathCore (aka libMathCore.so).

Cheers,
Enrico