Re: Matrixes with complex numbers

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 27 Feb 2007 11:22:40 +0100


Hi Mario,

None of the matrix classes in ROOT can be used with complex numbers. This could, in theory, be implemented withing TMatrix (already templated). However, the support for operations (of course what you want) would require a bit more work.
May be, Eddy wants to add something to my mail ?

Rene Brun

Mario Kadastik wrote:
> Hello,
>
> I have tried searching for a way to have matrices with complex numbers
> in them and still have the functionality of matrices and have turned
> up with a number of questions on the web however basically no answers.
> Is there a way to use complex numbers in ROOT in matrices (there's the
> complex class which enables one to have complex numbers and do
> operations on them, but there seems not to be a way to have a matrix
> with complex numbers in it). I have used until now TMatrixD for
> matrices with doubles in them, but how do I extend that to include
> complex numbers?
>
> Mario
Received on Tue Feb 27 2007 - 11:22:48 CET

This archive was generated by hypermail 2.2.0 : Tue Feb 27 2007 - 23:50:01 CET