In an TF1 and TFormula Object ** and ^ both seem to represent the power
function.
Drawing g1 derfined as the following
TFormula *g1 = new TFormula("g1","exp(-((x-3)^2)/4^2)");
or
TFormula *g1 = new TFormula("g1","exp(-((x-3)**2)/4**2)");
f1 = new TF1("f1","g1",0,10);
f1->Draw();
both give the same result
but the sum with a second function g2 only works with the first
definition (^) not with (**)
TFormula *g2 = new TFormula("g2","exp(-((x-1*.68)^2)/3^2)");
f2 = new TF1("f2","g1+g2",0,10);
f2->Draw();
So using ** should be avoided ??
Cheers
Norbert