IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
QRDecomposition.h
Go to the documentation of this file.
1 // QRDecomposition.h:
3 // ------------------
4 //
14 
15 #ifndef __IPSDKMATH_QRDECOMPOSITION_H__
16 #define __IPSDKMATH_QRDECOMPOSITION_H__
17 
20 
21 namespace ipsdk {
22 namespace math {
23 
26 
39 IPSDKMATH_API bool
40 qrSolve(const Matrix& matA, const Vector& vecB,
41  Vector& vecX);
42 
51 IPSDKMATH_API void
52 qrDecomposition(const Matrix& matA,
53  Matrix& matQ, Matrix& matR);
54 
57 
58 } // end of namespace math
59 } // end of namespace ipsdk
60 
61 #endif // __IPSDKMATH_QRDECOMPOSITION_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 void qrDecomposition(const Matrix &matA, Matrix &matQ, Matrix &matR)
QR decomposition of mxn matrix Given mn = min(m,n), we have :
#define IPSDKMATH_API
Import/Export macro for library IPSDKMath.
Definition: IPSDKMathExports.h:27
IPSDKMATH_API bool qrSolve(const Matrix &matA, const Vector &vecB, Vector &vecX)
linear system resolution using qr decomposition method Solved system is : matA x VecX = vecB with ...