bd_lu_solver.h File Reference

LU solver for TBCI::BdMatrix class (TBCI::lu_decomp). More...

#include "../vector.h"
#include "../band_matrix.h"
#include "../matrix.h"

Include dependency graph for bd_lu_solver.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TBCI

Defines

#define BDMLU_MINVAL   1e-16
#define BDMLU_RES_WARN   1e-11

Functions

template<typename T>
int TBCI::lu_decomp (BdMatrix< T > &mat)
 LU decompose a TBCI::BdMatrix.
template<typename T>
TVector< T > TBCI::LU_fwd_subst (const BdMatrix< T > &lu, const Vector< T > &y)
template<typename T>
TVector< T > TBCI::LU_bkw_subst (const BdMatrix< T > &lu, const Vector< T > &y)
template<typename T>
TVector< T > TBCI::LU_solve (const BdMatrix< T > &lu, const Vector< T > &b)
 Solve the equation Ax = b where A IS already LU decomposed.
template<typename T>
TVector< T > TBCI::lu_solve (BdMatrix< T > &mat, const Vector< T > &b)
 Solve the equation Ax = b where A still needs to be LU decomposed.
template<typename T>
TMatrix< T > TBCI::LU_solve (const BdMatrix< T > &lu, const Matrix< T > &b)
template<typename T>
TMatrix< T > TBCI::lu_solve (BdMatrix< T > &mat, const Matrix< T > &b)
template<typename T>
TBCI::LU_det (const BdMatrix< T > &lu)
 calculates determinant of an already LU decomposed BdMatrix
template<typename T>
TBCI::lu_det (BdMatrix< T > &mat)
 calculates the determinant of a BdMatrix by doing an LU decomposition
template<typename T>
TMatrix< T > TBCI::LU_invert (const BdMatrix< T > &lu)
 return the inverse Matrix for an already LU decomposed BdMatrix
template<typename T>
TMatrix< T > TBCI::lu_invert (BdMatrix< T > &mat)
 return the inverse Matrix for a BdMatrix by doing an LU decomposition


Detailed Description

LU solver for TBCI::BdMatrix class (TBCI::lu_decomp).

LU decomposizes a BdMatrix and solves the Vector equation Ax = b

Definition in file bd_lu_solver.h.


Define Documentation

#define BDMLU_MINVAL   1e-16

Definition at line 33 of file bd_lu_solver.h.

Referenced by TBCI::lu_decomp().

#define BDMLU_RES_WARN   1e-11

Definition at line 38 of file bd_lu_solver.h.

Referenced by TBCI::lu_solve().


Generated on Wed Nov 20 09:27:31 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6