Link to home
Start Free TrialLog in
Avatar of bbk_doll
bbk_doll

asked on

Program to Inverse a Matrix

which is the easiest way to invert a matrix in  C?
SOLUTION
Avatar of unassassinable
unassassinable
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Infinity08
For smaller matrices (2x2, 3x3), doing it directly (by calculating a lot of determinants) is ok. For larger matrices, Gauss-Jordan elimination will be faster.

For matrices with special properties, more specific algorithms (faster) exist.
Avatar of bbk_doll
bbk_doll

ASKER

Thanks unassassinable !
but its really very large code. and, which method it is based on ?

Thanks Infinity08 !
yes, i read Guass Jordon method, long ago. may i have any lnformation / link on it.

Thanks again.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial