IT++ Logo
lu.h
Go to the documentation of this file.
1 
29 #ifndef LU_H
30 #define LU_H
31 
32 #include <itpp/base/mat.h>
33 #include <itpp/itexports.h>
34 
35 namespace itpp
36 {
37 
38 
41 
67 ITPP_EXPORT bool lu(const mat &X, mat &L, mat &U, ivec &p);
68 
69 
95 ITPP_EXPORT bool lu(const cmat &X, cmat &L, cmat &U, ivec &p);
96 
97 
99 ITPP_EXPORT void interchange_permutations(vec &b, const ivec &p);
100 
102 ITPP_EXPORT bmat permutation_matrix(const ivec &p);
104 
105 } // namespace itpp
106 
107 #endif // #ifndef LU_H
bmat
Mat< bin > bmat
bin matrix
Definition: mat.h:508
itpp
itpp namespace
Definition: itmex.h:36
mat.h
Matrix Class Definitions.
itpp::lu
bool lu(const mat &X, mat &L, mat &U, ivec &p)
LU factorisation of real matrix.
Definition: lu.cpp:117
itpp::permutation_matrix
bmat permutation_matrix(const ivec &p)
Make permutation matrix P from the interchange permutation vector p.
Definition: lu.cpp:144
itpp::interchange_permutations
void interchange_permutations(vec &b, const ivec &p)
Makes swapping of vector b according to the interchange permutation vector p.
Definition: lu.cpp:132
SourceForge Logo

Generated on Sat Jun 22 2019 19:10:12 for IT++ by Doxygen 1.8.17