ltl::LUDecomposition< T, N > Class Template Reference
[LU Decomposition]

List of all members.

Static Public Member Functions

Static Protected Member Functions




Detailed Description

template<typename T, int N>
class ltl::LUDecomposition< T, N >

Solve the linear system of equations A x = b using LU decomposition.


Member Function Documentation

template<typename T , int N>
static FVector<T,N> ltl::LUDecomposition< T, N >::solve ( FMatrix< T, N, N >  A,
FVector< T, N >  b 
) [inline, static]

Solve the linear system of equations A x = b using LU decomposition. The solution vector x is returned.

References ltl::LUDecomposition< T, N >::lubksb(), and ltl::LUDecomposition< T, N >::ludcmp().

Referenced by ltl::LUDecomposition< T, N >::invert(), and ltl::LUDecomposition< T, N >::solve().

template<typename T , int N>
static FMatrix<T,N,N> ltl::LUDecomposition< T, N >::solve ( FMatrix< T, N, N >  A,
FMatrix< T, N, N > &  B 
) [inline, static]

Solve the linear system of equations A x = b using LU decomposition for each column of the matrix b. The result vectors x are returned as columns of a matrix X.

References ltl::FMatrix< T, M, N >::col(), and ltl::LUDecomposition< T, N >::solve().

template<typename T , int N>
static FMatrix<T,N,N> ltl::LUDecomposition< T, N >::invert ( FMatrix< T, N, N >  A  )  [inline, static]

Invert the matrix A using LU decomposition.

References ltl::LUDecomposition< T, N >::solve(), and ltl::FMatrix< T, M, N >::traceVector().

template<typename T , int N>
void ltl::LUDecomposition< T, N >::ludcmp ( FMatrix< T, N, N > &  A,
FVector< int, N > &  Index 
) [inline, static, protected]

References ltl::sum(), and ZERO.

Referenced by ltl::LUDecomposition< T, N >::solve().

template<typename T , int N>
void ltl::LUDecomposition< T, N >::lubksb ( const FMatrix< T, N, N > &  A,
const FVector< int, N > &  Index,
FVector< T, N > &  B 
) [inline, static, protected]

Generated on 19 Feb 2015 for LTL by  doxygen 1.6.1