Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 18-02-2007, 07:57 PM   #1 (permalink)
Broken In
 
Join Date: Apr 2004
Location: in the game
Posts: 142
Default C


plz tell me how to find out determinant of a matrix using C,
also is there any forum related to C where I can ask any problem of C
__________________
I\'m the game & want to play
salils is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 18-02-2007, 09:09 PM   #2 (permalink)
In The Zone
 
morpheusv6's Avatar
 
Join Date: Dec 2006
Location: Bangalore
Posts: 216
Default Re: C

For a 3x3 matrix you can use the mathmatical formaula directly.
|A|=a1*(b2*c3-b3*c2)-a2*(b1*c3-b3*c1)+a3*(b1*c2-b2*c1)
where the matrix is:

a1 a2 a3
A= b1 b2 b3
c1 c2 c3

I will try to work out the formula for larger matrices(it probably involves recursion). Try searching the net in the meantime.

Good Luck.
__________________
Deven
morpheusv6 is offline  
Old 19-02-2007, 12:25 AM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Feb 2006
Posts: 33
Default Re: C

there is no direct formula or function in C to find determinent............ u can find determinat value by using for loop and cofactor of the 1st row elements.
Saket Parekh is offline  
Old 19-02-2007, 12:53 AM   #4 (permalink)
Google Bot
 
Pathik's Avatar
 
Join Date: Aug 2005
Posts: 9,772
Default Re: C

do ur home work urself.. U ll learn more that way
Pathik is offline  
Old 19-02-2007, 01:02 AM   #5 (permalink)
CG Artist
 
gaurav_indian's Avatar
 
Join Date: May 2006
Location: New Delhi,India
Posts: 1,462
Default Re: C

Quote:
Originally Posted by salils
plz tell me how to find out determinant of a matrix using C,
also is there any forum related to C where I can ask any problem of C
Try this one www.codeproject.com
gaurav_indian is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Piyush
- by icebags
- by clinton
- by Charan

Advertisement




All times are GMT +5.5. The time now is 12:00 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2