Gaussian elimination on a TMatrix

I have a “square” matrix, a system of 3 equations with 3 unknowns, that I’ve put into a TMatrix. Is there a ROOT method to perform Gaussian elimination on a TMatrix, so as to determine the values of the three unknowns? I understand ROOT uses Gauss-Jordan elimination to find the inverse of a matrix. Surely there’s a way to get just the solutions?


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


May be @moneta can help you.

Hi,
We have several decomposition methods in the TMatrix class for solving linear systems.
You can see here: https://root.cern/manual/math/#matrix-decompositions
a list of decomposition classes available in ROOT

Lorenzo

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.