33 #include <itpp/itexports.h> 67 ITPP_EXPORT
bool lu(
const mat &X, mat &L, mat &U, ivec &p);
95 ITPP_EXPORT
bool lu(
const cmat &X, cmat &L, cmat &U, ivec &p);
107 #endif // #ifndef LU_H bmat permutation_matrix(const ivec &p)
Make permutation matrix P from the interchange permutation vector p.
void interchange_permutations(vec &b, const ivec &p)
Makes swapping of vector b according to the interchange permutation vector p.
Matrix Class Definitions.
bool lu(const mat &X, mat &L, mat &U, ivec &p)
LU factorisation of real matrix.
Mat< bin > bmat
bin matrix