Linear Algebra and the C Language/a0a1


The Inverse with gj_TP_mR(); (TP)

In linear algebra, an invertible matrix is a square matrix that has an inverse... Wikipedia: Invertible matrix

The function

invgj_mR();

Code study

The function: invgj_mR(double **A, double **invA);

The function: invgj_pivot_mR(double **AID);

  • c00c.c
  • The function selects the best pivot and puts zero under the pivot.
  • c00d.c
  • The function puts zero above the pivot.
  • c00e.c

The function: sort_c_mR(double **Ab);

The function: sort_r_mR(double **Ab);

Some applications

Solve: AX = B

Solve: A|x1|x2| ... |xn| = b1|b2| ... |bn|