Re: convert double to complex
Peter Gottschling <[email protected]> Sun, 28 Jan 2007 11:37:55 -0500
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <[email protected]> |
What is the problem with the copy? What error do you get? Peter On 28.01.2007, at 11:27, Mario Ruetti wrote: > 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/ > ------------ Peter Gottschling Research Associate Open Systems Laboratory Indiana University 135 Lindley Hall Bloomington, IN 47405 Tel.: +1-812-855-3608 Fax: +1-812-856-0853 http://www.osl.iu.edu/~pgottsch _______________________________________________ This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/