Jump to content
  • Advertisement
Sign in to follow this  
loked

LAPACK used in MS Visual Studio .NET

This topic is 4832 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey All, I need to pass a matrix through an SVD pseudoinverse calculation and I was told I need to use LAPACK to do this, but I use MS Visual Studio .NET and I cant seem to find anything that I can link and also does anybody know what headers and functions I need to call to perform this operation? If anybody has done this before and can help me solve this I'd really appreciate it. Thanks ;) -loked

Share this post


Link to post
Share on other sites
Advertisement
As far as I know, LAPACK is distributed only in FORTRAN format. Since Visual Studio doesn't have the support for that language by default, your options are:

-Compile the library to a dynamic link library, and call it's functions from other languages

-or-

-Get a "Visual Fortran" of some sort, and write the whole program in it.

I think the first option is the easier one [wink]

Also, check if a c++ version of the LAPACK library is available already. And if you know your way around Fortran, you could port the functions you need yourself.

Share this post


Link to post
Share on other sites
Link. Also note that many public domain libraries are distributed as source code -- so besides looking for stuff you can link you might want to look a little further. Perhaps you need to build a library to link with first.

Greetz,

Illco

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!