By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,346 Members | 2,318 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,346 IT Pros & Developers. It's quick & easy.

C++ Prg To Determine The Determinant Of A Matrix

P: 1
Write The Program Using Class
Jun 15 '07 #1
Share this Question
Share on Google+
5 Replies


weaknessforcats
Expert Mod 5K+
P: 9,197
I need a specific question here.
Jun 15 '07 #2

Savage
Expert 100+
P: 1,764
I need a specific question here.
weaknessforcats,again..


This is article section..


Savage
Jun 15 '07 #3

weaknessforcats
Expert Mod 5K+
P: 9,197
Quote:
Originally Posted by weaknessforcats
I need a specific question here.


weaknessforcats,again..


This is article section..
Dang! That's twice you've caught me on this.

Moving this to the C/C++ Forum.
Jun 16 '07 #4

Savage
Expert 100+
P: 1,764
Dang! That's twice you've caught me on this.

Moving this to the C/C++ Forum.
:D

Just be more carefull next time..

Savage
Jun 16 '07 #5

Expert 10K+
P: 11,448
Write The Program Using Class
A cheap and simply way of doing this is to convert your matrix M to an upper
triagular form U using Gauss elimination. The product of the elements on the
diagonal of U equals the determinant of M. If you have to use row pivoting,
multiply that product by -1 every time you swapped two rows.

kind regards,

Jos
Jun 16 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.