Numerical Methods: Inverse of nxn matrix using C

Source Code:

 

SHARE Numerical Methods: Inverse of nxn matrix using C

You may also like...

17 Responses

  1. it is very useful program with nice style

  2. Anonymous says:

    Guy you mix I/O with business logic.

  3. Anonymous says:

    Nice and useful code. Thank you.

  4. Anonymous says:

    what when matrix[i][i]=0. You have not taken care of such situation. When u are going to deal with n*2n matrix, why create a matrix of size 10*10. You should have created a matrix of 5*10 or 10*20 or …

  5. MH Raihan says:

    I just want to ask this type similar question . Did you solve if matrix[0][0] = 0; ?

  6. Anonymous says:

    How amazing work. You help me out. Thanks very much.

  7. Is this code work properly with a 6×6 matrix of complex numbers?

  8. Anonymous says:

    you must check if the matrix is invertible or not by calculating the determinant of the matrix ,that is,if the determinant is zero ,the matrix has no inverse

  9. Anonymous says:

    values getting replaced…..so no problem if 0 present as diagonal element

  10. Anonymous says:

    inverse of such a matrix will never exist

  11. Grace says:

    what approach did u use? I don't completely understand your program.

  12. Anonymous says:

    is this code working when i runthiscode it is giving nan

  13. sakshi says:

    logic seems incorrect as matrix[i][i] is 0.
    doesnt work for huge matrix.

  14. Anonymous says:

    Very smooth code, saved me a lot of work 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

Share