
2008/12/25 Thomas Klimpel <Thomas.Klimpel@synopsys.com>:
Hi Allen,
Allen Chen wrote:
Today I begin to learn to use boost ublas.
There is also a mailing list especially for boost ublas.
Thanks! I will join the mailing list.
And I have successfully done svd for a real matrix. To do svd for a complex matrix, I simply change codes from double to std::complex like the following. But it does not work.
The singular values "S" are still real, even for a complex matrix. So you should write "vector<double> S(2);" instead of "vector<std::complex<double>> S(2);".
Oh, that's great, it does work now. I forget the thing that singual value is already real. Thank you very much. Merry christmas! Allen
Regards, Thomas
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users