Dear experts,
This is kind of simple question for you.
I have 120(6X6 matrix) TMatrixD(from generated) and 120 TvectorD(from data) made from two different runs.
I can print them in the terminal /copy and paste into a txt file.
I need to multiply these two(Aj= Mij* Ai), what is the easy way to do that?
No idea how to multiply matrix and vector in two different files.
is there a way to store Matrices/vectors in .root file ?
I might be wrong , but since TMatrix inherits from TObject, you can write it to a TFile and retrieve it back.
Have you tried to write the object to a TFile and check you can get it back when reading the file?