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

LinSolver - Solves linear systems of equations on the form A*x=B. A is a matrix of the size N*N, x is a column vector of the size N and B is a column vector of the size N. More...

Inheritance diagram for LinSolver< T >:
[legend]

Public Member Functions

 LinSolver (const Array2D< T > &A)
 
 LinSolver (const LinSolver &)
 
 ~LinSolver ()
 
bool init (TaskRunner *=0)
 
bool ready () const
 
int size () const
 
void apply (const T *b, T *x) const
 

Protected Attributes

Array2DImpl< T > croutsmatrix_
 
int * croutsidx_
 
int n_
 
bool parity_
 
bool ready_
 

Detailed Description

template<class T>
class LinSolver< T >

LinSolver - Solves linear systems of equations on the form A*x=B. A is a matrix of the size N*N, x is a column vector of the size N and B is a column vector of the size N.

Constructor & Destructor Documentation

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

Member Function Documentation

template<class T>
void LinSolver< T >::apply ( const T *  b,
T *  x 
) const
inline
template<class T >
bool LinSolver< T >::init ( TaskRunner taskr = 0)
inline
template<class T>
bool LinSolver< T >::ready ( ) const
inline
template<class T>
int LinSolver< T >::size ( ) const
inline

Member Data Documentation

template<class T>
int* LinSolver< T >::croutsidx_
protected
template<class T>
Array2DImpl<T> LinSolver< T >::croutsmatrix_
protected
template<class T>
int LinSolver< T >::n_
protected
template<class T>
bool LinSolver< T >::parity_
protected
template<class T>
bool LinSolver< T >::ready_
protected

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