Hello all.
The output of the attached modification of solveLinear.C is:
<root_output>
$ root solveLinear.C
[snip]
ROOT 5.19/02 (trunk@22600, May 12 2008, 20:41:00 on linuxx8664gcc)
CINT/ROOT C/C++ Interpreter version 5.16.29, Jan 08, 2008
[snip]
-
- Normal Equations par[1] 0.635849 par[2] 1.06618
-
- SVD par[1] 0.635849 par[2] 1.06618
-
- TLinearFitter par[1] 2.85556 par[2] -0.677778
</root_output>
I would expect (3) to give exactly the same results as (1.) and (2.) (which are correct).
Obviously I did not set up correctly the TLinearFitter ctor.
What is the problem?
Many thanks,
Dimitris
solveLinear.C (1.42 KB)