IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
LUDecomposition.h
Go to the documentation of this file.
1 // LUDecomposition.h:
3 // ------------------
4 //
14 
15 #ifndef __IPSDKMATH_LUDECOMPOSITION_H__
16 #define __IPSDKMATH_LUDECOMPOSITION_H__
17 
20 
21 namespace ipsdk {
22 namespace math {
23 
26 
40 IPSDKMATH_API bool
41 luSolve(const Matrix& matA, const Vector& vecB,
42  Vector& vecX);
43 
48 IPSDKMATH_API bool
49 luInverse(Matrix& matA);
50 
56 IPSDKMATH_API bool
57 luInverse(const Matrix& matA,
58  Matrix& matInvA);
59 
63 IPSDKMATH_API bool
65 
69 IPSDKMATH_API bool
71 
74 
75 } // end of namespace math
76 } // end of namespace ipsdk
77 
78 #endif // __IPSDKMATH_LUDECOMPOSITION_H__
Definition of import/export macro for library.
boost::numeric::ublas::matrix< ipReal64 > Matrix
matrix type associated to library
Definition: LinearAlgebraTypes.h:48
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Predefined types for linear algebra management.
boost::numeric::ublas::vector< ipReal64 > Vector
vector type associated to library
Definition: LinearAlgebraTypes.h:36
IPSDKMATH_API bool luSolve(const Matrix &matA, const Vector &vecB, Vector &vecX)
linear system resolution using lu decomposition Solved system is : matA x VecX = vecB with ...
#define IPSDKMATH_API
Import/Export macro for library IPSDKMath.
Definition: IPSDKMathExports.h:27
IPSDKMATH_API bool luInverse(Matrix &matA)
in place inversion of a nxn squared matrix using lu decomposition method
IPSDKMATH_API bool lowerTriangularInverse(Matrix &matA)
inversion of a nxn lower triangular matrix
IPSDKMATH_API bool upperTriangularInverse(Matrix &matA)
inversion of a nxn upper triangular matrix