LTL
2.0.x
|
Static Public Member Functions | |
static FVector< T, N > | solve (FMatrix< T, N, N > A, FVector< T, N > b) |
static FMatrix< T, N, N > | solve (FMatrix< T, N, N > A, FMatrix< T, N, N > &B) |
static FMatrix< T, N, N > | invert (FMatrix< T, N, N > A) |
Static Protected Member Functions | |
static void | ludcmp (FMatrix< T, N, N > &A, FVector< int, N > &Index) |
static void | lubksb (const FMatrix< T, N, N > &A, const FVector< int, N > &Index, FVector< T, N > &B) |
Solve the linear system of equations A x = b using LU decomposition.
|
inlinestatic |
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().
|
inlinestatic |
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().
|
inlinestatic |
Invert the matrix A using LU decomposition.
References ltl::LUDecomposition< T, N >::solve(), and ltl::FMatrix< T, M, N >::traceVector().
|
staticprotected |
References ltl::sum(), and ZERO.
Referenced by ltl::LUDecomposition< T, N >::solve().
|
staticprotected |
References ltl::sum().
Referenced by ltl::LUDecomposition< T, N >::solve().