convert double to complex

"Mario Ruetti" <[email protected]> Sun, 28 Jan 2007 17:27:15 +0100
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
Hi,

I have a small - but hard for me - problem.
I get a matrix of this type:
  typedef mtl::matrix< float_type, symmetric<lower>, envelope<>, row_major >::type EnvelopeMatrix;

where the float_type is a double. Now I will convert this matrix into a complex one of type

  typedef mtl::matrix< complex<double> , symmetric<lower>, envelope<>, row_major >::type ComplexEnvelopeMatrix;

I tried to use a constructor or copy but nothing will work...
Does anyone have a solution?

Thanks Mario

-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail
_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/