Sign in to follow this  

compute determinant with lapack

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

This topic is 3970 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this