 |
|  |
 |
|
Ramo
|
 |
Austin, Texas, USA
Oct 1999 time: 23:36
|
|
quote: I've painstakingly debugged my code that brings a matrix into reduced echelon form, to calculate the inverse. The prospect of writing the recursive function for the determinant is not inviting. Isn't there some way of using the inverse to find the determinant? |
Not unless its inverse is easy to calculate.
Easiest way would be this:
detA = eq1...qnA1q1...Anqn
Edit: In case it's not clear, the summation over each qm is implied through repeated indices. And eq1...qn gives 1 if q1..qn is an even permutation of 1...n, -1 if it's an odd permutation.
Last edited by Ramo on 07-03-2005 at 08:22
|
|
|  |
 |
|
Lul Thyme
|
|
Quebec, Canada
Aug 2000 time: 05:36
|
|
n being number of entries of number of lines?
|
|
|  |
All times are GMT. The time now is 05:36. Apolyton Time is 00:36. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|