real*4 mod_matrix::m_det_gaussj ( type(matrix),intent(in)  m  ) 

determinant of m by gauss-jourdan

Author:
Abal-Kassim Cheik Ahamed <akcheik@gmail.com>
Parameters:
m : type(matrix)
Date:
12th of March, 2011
Remarks:
Returns:
det : real*4
See also:
math_machine_eps() : epsilon error
Method
In order to compute matrix determinant, we can use matrices elementary determinant, following well-known:
  • $L_i \leftrightarrow L_j$ , $det E_{ij}=-1$
  • $L_i \rightarrow cL_i$, $det E_{i}(c)=c$, $c\neq 0$
  • $L_i \leftrightarrow L_j+cL_i$, $det E_{ij}=1$, $c\neq 0$

Definition at line 2695 of file matrix.f90.

 All Classes Namespaces Files Functions Variables Defines