urgent for example using the complex variables in LAPACK++

Open discussion regarding features, bugs, issues, vendors, etc.

urgent for example using the complex variables in LAPACK++

Postby xixi » Thu Oct 13, 2005 2:36 am

Hi Julie,

Thank you very much for ur kind help. It is always difficult at the beginning. I tried the double matrix, but I cannot find the example using complex matrix and vector in LAPACK++.

would you like to give me one example using complex matrix, complex vector to solve the linear Ax=b system?

Thanks a lot
Posts: 3
Joined: Fri Sep 16, 2005 2:35 am

Postby Julie » Thu Oct 13, 2005 9:55 am


To declare a complex matrix, you use LaGenMatrixComplex instead of LaGenMatrixDouble.
After, you just have to use the same call to LaLinearSolve.
The LaLinearSolve routine has been overloaded to perform differents tasks depending on the type of the input Matrix A.

Please refer to http://netlib.org/lapack++/user.ps for more detail. The user guide is very clear and concise [20 pages], it should answer all your questions.

Moreover, you can take a look in the testing directories: (matrix/testing, testing), you will get a very good overview on how to use lapack++.

Julie Langou
Posts: 299
Joined: Wed Feb 23, 2005 12:32 am
Location: ICL, Denver. Colorado

Return to User Discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest