Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Determinant


Functions

double SPUC::det (const mat &X)
 Determinant of real square matrix.

Calculate determinant of the real matrix $\mathbf{X}$.


Function Documentation

double SPUC::det const mat &  X  ) 
 

Determinant of real square matrix.

Calculate determinant of the real matrix $\mathbf{X}$.

Uses LU-factorisation.

\[ \det(\mathbf{X}) = \det(\mathbf{P}^T \mathbf{L}) \det(\mathbf{U}) = \det(\mathbf{P}^T) \prod(\mathrm{diag}(\mathbf{U})) \]

and the determinant of the permuation matrix is $ \pm 1$ dependening on the number of row permuations


Generated on Fri Sep 16 11:06:48 2005 for spuc by  doxygen 1.4.4