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 permutation_matrix(const ivec &p)
Make permutation matrix P from the interchange permutation vector p.
Definition: lu.cpp:144
void interchange_permutations(vec &b, const ivec &p)
Makes swapping of vector b according to the interchange permutation vector p.
Definition: lu.cpp:132
Matrix Class Definitions.
itpp namespace
Definition: itmex.h:36
bool lu(const mat &X, mat &L, mat &U, ivec &p)
LU factorisation of real matrix.
Definition: lu.cpp:117
Mat< bin > bmat
bin matrix
Definition: mat.h:508
SourceForge Logo

Generated on Sun Apr 10 2022 12:00:00 for IT++ by Doxygen 1.8.14