Complex Matrix

Dear all,

I would like to know if is there some way to use TMatrix with TComplex elements inside. I would like to solve a linear system where my matrix is complex.
I tried to load libMatrix.dll manually:
gSystem->Load(“libMatrix.dll”);
and them use TMatrix, but it doesn’t work.

Thank you very much for any kind of information,
Cheers.

You cannot use a Tmatrix with a TComplex. TMatrix supports only basic types float and double.

Rene

Thank you Rene for the answer.
Ok, to avoid this problem is there a way to use the C++ complex.h class inside root? How can I load it? (I’m on Windows, I installed root 5.24 from binaries)

Thank you another time.
Cheers.

You can do something like

root > .x comp.C+

with

[code]//file comp.C
#include

void comp() {
complex k;
}
[/code]
Rene