OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
QRSolver< T > Class Template Reference

QRSolver - QR decomposition of a matrix A For an m-by-n matrix A, with m>=n, the QR decomposition is A = Q*R, where Q is an m-by-n orthogonal matrix, and R is an n-by-n upper-triangular matrix. More...

Public Member Functions

 QRSolver (const Array2D< T > &A)
 
 ~QRSolver ()
 
bool isFullRank ()
 
const Array1DImpl< T > * apply (const Array1D< T > &B) const
 
const Array1DImpl< T > * apply (const Array2D< T > &B) const
 
const Array2DImpl< T > * getQ () const
 
const Array2DImpl< T > * getR () const
 

Protected Attributes

Array2DImpl< T > qr_
 
Array1DImpl< T > * rdiag_
 
int m_
 
int n_
 
bool isfullrank_
 

Detailed Description

template<class T>
class QRSolver< T >

QRSolver - QR decomposition of a matrix A For an m-by-n matrix A, with m>=n, the QR decomposition is A = Q*R, where Q is an m-by-n orthogonal matrix, and R is an n-by-n upper-triangular matrix.

Constructor & Destructor Documentation

template<class T >
QRSolver< T >::QRSolver ( const Array2D< T > &  A)
inline
template<class T >
QRSolver< T >::~QRSolver ( )
inline

Member Function Documentation

template<class T >
const Array1DImpl< T > * QRSolver< T >::apply ( const Array1D< T > &  B) const
inline
template<class T >
const Array1DImpl< T > * QRSolver< T >::apply ( const Array2D< T > &  B) const
inline
template<class T >
const Array2DImpl< T > * QRSolver< T >::getQ ( ) const
inline
template<class T >
const Array2DImpl< T > * QRSolver< T >::getR ( ) const
inline
template<class T >
bool QRSolver< T >::isFullRank ( )
inline

Member Data Documentation

template<class T >
bool QRSolver< T >::isfullrank_
protected
template<class T >
int QRSolver< T >::m_
protected
template<class T >
int QRSolver< T >::n_
protected
template<class T >
Array2DImpl<T> QRSolver< T >::qr_
protected
template<class T >
Array1DImpl<T>* QRSolver< T >::rdiag_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019