lu_solver.h File Reference

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

Include dependency graph for 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 MLU_MINVAL   5e-16
#define MLU_RES_WARN   1e-11

Functions

template<typename T>
int TBCI::lu_decomp (Matrix< T > &mat)
 LU decomposes the TBCI::Matrix mat.
template<typename T>
TVector< T > TBCI::LU_fwd_subst (const Matrix< T > &lu, const Vector< T > &y)
template<typename T>
TVector< T > TBCI::LU_bkw_subst (const Matrix< T > &lu, const Vector< T > &y)
template<typename T>
TVector< T > TBCI::LU_solve (const Matrix< T > &lu, const Vector< T > &b)
template<typename T>
TVector< T > TBCI::lu_solve (Matrix< T > &mat, const Vector< T > &b)
template<typename T>
TMatrix< T > TBCI::LU_solve (const Matrix< T > &lu, const Matrix< T > &b)
template<typename T>
TMatrix< T > TBCI::lu_solve (Matrix< T > &mat, const Matrix< T > &b)
template<typename T>
TBCI::LU_det (const Matrix< T > &lu)
 calculates determinant of an already LU decomposed Matrix
template<typename T>
TBCI::lu_det (Matrix< T > &mat)
 calculates determinant of a Matrix by LU decomposition
template<typename T>
TMatrix< T > TBCI::LU_invert (const Matrix< T > &mat)
 Returns the inverse of a already LU decomposed Matrix.
template<typename T>
TMatrix< T > TBCI::lu_invert (Matrix< T > &mat)
 Returns the inverse of a Matrix by performing a LU decomposition.


Detailed Description

LU solver implementation (TBCI::lu_decomp)

LU decomposizes a TBCI::Matrix and solves the vector equation Ax = b

LU_xxxx operates on an already LU decomposed Matrix, whereas lu_xxxx does decompose it and then does * the requested action (eg. determinant calculation ...)

NOTE: the matrix passed as argument to lu_xxxx will be modified!

Date:
23.06.97
Author:
Kurt Garloff
Version:
Id
lu_solver.h,v 1.15.2.20 2009/02/16 21:28:07 garloff Exp
License: GNU LGPL

Definition in file lu_solver.h.


Define Documentation

#define MLU_MINVAL   5e-16

Definition at line 32 of file lu_solver.h.

Referenced by TBCI::lu_decomp().

#define MLU_RES_WARN   1e-11

Definition at line 37 of file lu_solver.h.

Referenced by TBCI::lu_solve().


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