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
35namespace itpp
36{
37
38
42
67ITPP_EXPORT bool lu(const mat &X, mat &L, mat &U, ivec &p);
68
69
95ITPP_EXPORT bool lu(const cmat &X, cmat &L, cmat &U, ivec &p);
96
97
99ITPP_EXPORT void interchange_permutations(vec &b, const ivec &p);
100
102ITPP_EXPORT bmat permutation_matrix(const ivec &p);
104
105} // namespace itpp
106
107#endif // #ifndef LU_H
bool lu(const mat &X, mat &L, mat &U, ivec &p)
LU factorisation of real matrix.
Definition: lu.cpp:117
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.
Mat< bin > bmat
bin matrix
Definition: mat.h:508
itpp namespace
Definition: itmex.h:37
SourceForge Logo

Generated on Sun Jun 5 2022 21:26:42 for IT++ by Doxygen 1.9.3