Does ROOT facilitate least-squares regression computations? That is, I have a rectangular matrix of 3 equations in 2 unknowns:
Sqrt[(x-x1)^2 + (y-y1)^2] + s(t2-t1) = Sqrt[(x-x2)^2 + (y-y2)^2]
Sqrt[(x-x2)^2 + (y-y2)^2] + s(t3-t2) = Sqrt[(x-x3)^2 + (y-y3)^2]
Sqrt[(x-x3)^2 + (y-y3)^2] + s(t3-t1) = Sqrt[(x-x1)^2 + (y-y1)^2]
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?
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided