Friday 2 December 2016

Program to compute matrix determinant and inverse.

Hello everyone.
Once again its me with another program to share.

This program computes the inverse of a matrix using the same method as followed in mathematics.

This program uses a function  called determinant which recursively computes the determinant of a matrix.
Then the adjoint of the matrix is computed in another matrix. All the elements of the adjoint matrix are then divided by the determinant and the inverse is obtained.

Download the code here.





Like our facebook page here.