I want to solve for ‘x’ and ‘y’. Unfortunately, I’m not too familiar with least-squares theory, however I recall reading once that ROOT has the capacity to do some things with least-squares (I can’t seem to find anything on this, however). Is there something in ROOT which I can use to solve this?
Hi,
I guess you want to find the roots (solve for x and y) given a set of equations.
This is a multi-roots solving problem, you would need to use the ROOT::Math::GSLMultiRootFinder class,
and this is an example using it
Note that this class is part of libMathMore and you need to build ROOT with GSL support.
You can check for this by doing from the command line root-config --has-mathmore