Jump to content
  • Advertisement
Sign in to follow this  
shaobohou

compute determinant with lapack

This topic is 4156 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

Hi, I have been trying to replace my matrix library implementation with calls to LAPACK but I have discovered there are no LAPACK routine for computing determinant. I thought about writing a little bit of code to compute the determinant from the LAPACK lu decomposition routine (dgetrf) but found that it does not return the number of interchanges needed to compute the correct sign of the determinant. Is it possible to compute the number of interchanges from the row permutation matrix P, for the case of A = P*L*U? thanks Shaobo

Share this post


Link to post
Share on other sites
Advertisement
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!