468,512 Members | 1,428 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

Determinant of a matrix of mxn form in C-Language

I need the program in c-langauge to find the determinant of a matrix for
specified no.or rows and columns.
Nov 24 '07 #1
2 3708
Laharl
849 Expert 512MB
What have you started? Where are you running into trouble? What errors are you getting? We won't write your code for you, but we can help you with errors you are getting or problems you are having.
Nov 24 '07 #2
JosAH
11,448 Expert 8TB
I need the program in c-langauge to find the determinant of a matrix for
specified no.or rows and columns.
I hope you made a typo in your topic title because determinants are only defined
for square matrixes. Simply transform your matrix to upper triangular form by
applying elementary row operations on the matrix. If you need to pivot rows,
multiply the determinant by -1. The determinant is the product of the main diagonal
of the upper triangular matrix. If you can't triangulize the matrix the determinant
equals zero.

kind regards,

Jos
Nov 24 '07 #3

Post your reply

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

Similar topics

13 posts views Thread by Charulatha Kalluri | last post: by
3 posts views Thread by Gigi.com | last post: by
4 posts views Thread by Tuvas | last post: by
1 post views Thread by naren | last post: by
14 posts views Thread by James Stroud | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.