40 #include "RConfigure.h" 42 #ifdef R__HAS_MATHMORE 45 #error libMathMore is not available - cannot run this tutorial 56 void exampleMultiRoot(
const char * algo = 0,
int printlevel = 1) {
60 TF2 *
f1 =
new TF2(
"f1",
"[0]*(1-x)+[1]*y");
61 TF2 *
f2 =
new TF2(
"f2",
"[0]*(y-x*x)");
Class for Multidimensional root finding algorithms bassed on GSL.
virtual void SetParameters(const Double_t *params)
Class to Wrap a ROOT Function class (like TF1) in a IParamMultiFunction interface of multi-dimensions...
A 2-Dim function with parameters.
double f2(const double *x)
virtual void SetParameter(Int_t param, Double_t value)