Sign in to follow this  

compute determinant with lapack

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

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