Scythe-1.0.3
template<typename T , matrix_order PO, matrix_style PS>
T scythe::det ( const Matrix< T, PO, PS > &  A)

Calculate the determinant of a square Matrix.

This routine calculates the determinant of a square Matrix, using LU decomposition.

Parameters:
AThe Matrix to calculate the determinant of.
See also:
lu_decomp(Matrix<T,PO1,PS1>, Matrix<T,PO2,Concrete>&, Matrix<T,PO3,Concrete>&, Matrix<unsigned int, PO4, Concrete>&)
Exceptions:
scythe_dimension_error(Level 1)
scythe_null_error(Level 1)

References scythe::Matrix_base< ORDER, STYLE >::isNull(), scythe::Matrix_base< ORDER, STYLE >::isSquare(), and SCYTHE_CHECK_10.

Referenced by lndmvn().