Instructions
The programs written in this project are available in the 'Download page'. There are various C functions given in separate files according to the inversion scenario.
- User has to place the downloaded C file in the same directory of their programs and include it in their programs.
- The input_matrix and inverted_matrix are need to be declared (or dynamically memory allocated) in two dimensional double arrays (or pointers). The input matrix is updated with it's values.
- By calling, invertmat function with the arguments (order of input matrix, input_matrix, inverted_matrix), the matrix inversion is performed. Upon successful inversion, invertmat is updated with the values of inverted_matrix for the given input_matrix and the function returns an integer as 1.
#include "./invertor_inplace_by_a.c"
      ⋮
... < user defined function > (...)
{
int < order > ;
double **< input_matrix >, **< inverted_matrix > ;
      ⋮
invertmat( < order >, < input_matrix >, < inverted_matrix > );
      ⋮
}