43 double det(
const mat &X)
54 double temp = U(0, 0);
55 for (i = 1;i < X.rows();i++) {
60 for (i = 0; i < p.size(); i++)
76 std::complex<double>
det(
const cmat &X)
87 std::complex<double> temp = U(0, 0);
88 for (i = 1;i < X.rows();i++) {
93 for (i = 0; i < p.size(); i++)
#define it_assert_debug(t, s)
Abort if t is not true and NDEBUG is not defined.
double det(const mat &X)
Determinant of real square matrix.Calculate determinant of the real matrix .
Definitions of determinant calculations.
Definitions of LU factorisation functions.
bool lu(const mat &X, mat &L, mat &U, ivec &p)
LU factorisation of real matrix.