Hello, I have been trying for the last week to work with complex matrixes in ROOT(C++). Is there a way to work with them? I was trying to invert a matrix and do a couple of calculations but TMatrixD or TMatrixT do not allow complex numbers, only doubles or floats right?
Thanks for your help
Hello @Rafa_Lopez,
while you could instantiate the template TMatrixT with complex numbers, you might get stuck when it uses functions that haven’t been overloaded for these types. Also, it wouldn’t exploit any knowledge about complex matrices to speed up certain algorithms.
Therefore, I would recommend the GNU Scientific Library like in this post
The more up-to-date link is now: