OpendTect  6.6
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 ()
 
void apply (const T *b, T *x) const
 
bool init (TaskRunner *=0)
 
bool ready () const
 
int size () const
 

Protected Attributes

int * croutsidx_
 
Array2DImpl< T > croutsmatrix_
 
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

◆ LinSolver() [1/2]

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

◆ LinSolver() [2/2]

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

◆ ~LinSolver()

template<class T >
LinSolver< T >::~LinSolver
inline

Member Function Documentation

◆ apply()

template<class T >
void LinSolver< T >::apply ( const T *  b,
T *  x 
) const
inline

◆ init()

template<class T >
bool LinSolver< T >::init ( TaskRunner taskr = 0)
inline

◆ ready()

template<class T >
bool LinSolver< T >::ready ( ) const
inline

◆ size()

template<class T >
int LinSolver< T >::size ( ) const
inline

Member Data Documentation

◆ croutsidx_

template<class T >
int* LinSolver< T >::croutsidx_
protected

◆ croutsmatrix_

template<class T >
Array2DImpl<T> LinSolver< T >::croutsmatrix_
protected

◆ n_

template<class T >
int LinSolver< T >::n_
protected

◆ parity_

template<class T >
bool LinSolver< T >::parity_
protected

◆ ready_

template<class T >
bool LinSolver< T >::ready_
protected

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