Jump to content

Java Programming


sachin

Recommended Posts

Now I have to go digging in the memory banks. :/

I think PLU decomposition, then reading off your determinant by multiplying along the diagonal is faster in most of the cases that you'd care about speed (unless you're calculating determinants for very large numbers of small matrices). But then again I could be entirely talking out my posterior.

There are even tricksier methods, but I can't recall off hand what they are.

If you're just after determinants and don't care about how it's done, I'd highly recommend looking up some kind of linear algebra library or class, as this is the kind of work done in any given language by people much smarter than I am.

If you're interested in the implementation, maybe tell me a little more about what you're doing and I'll see if I can find some relevant resources.

Link to comment
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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.