Need to get the value of x corresponding to y value

Hello Experts,

I am trying to get the value of the x for the correspondig value of the function at f = 0.5. I dono’t know how to do this. Please have a look at my macros.func.C (487 Bytes)

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

Double_t value = f->GetX(0.5); // f->GetX(0.5, f->GetXmin(), f->GetXmax())
std::cout << value << std::endl;

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.