LTL
2.0.x
|
Solve equation via Gauss-Jordan inversion or just do a Gauss-Jordan inversion. More...
Static Public Member Functions | |
static FMatrix< T, N, N > | invert (FMatrix< T, N, N > a) |
invert Matrix, similar to eval() but without solving a linear equation More... | |
static FVector< T, N > | solve (FMatrix< T, N, N > a, FVector< T, N > b) |
Return the solution vector x for the equation A x = b More... | |
static void | eval (FMatrix< T, N, N > &a, FVector< T, N > &b) |
Solve A x = B by Gauss-Jordan elimination. b is replaced by the solution x, A is replaced by its inverse. More... | |
Static Protected Member Functions | |
static void | getPivot (const FMatrix< T, N, N > &a, FVector< int, N > &ipiv, tNMatPivot< T > &p) |
static void | swapRows (FMatrix< T, N, N > &a, FVector< T, N > &b, tNMatPivot< T > &p) |
static void | divByPiv (FMatrix< T, N, N > &a, const tNMatPivot< T > &p) |
static void | divByPiv (FMatrix< T, N, N > &a, FVector< T, N > &b, const tNMatPivot< T > &p) |
static void | elimRow (FMatrix< T, N, N > &a, const tNMatPivot< T > &p) |
static void | elimRow (FMatrix< T, N, N > &a, FVector< T, N > &b, const tNMatPivot< T > &p) |
Solve equation via Gauss-Jordan inversion or just do a Gauss-Jordan inversion.
|
inlinestaticprotected |
Referenced by ltl::GaussJ< T, N >::eval(), ltl::GaussJ< T, N >::invert(), and ltl::GaussJ< T, N >::solve().
|
inlinestaticprotected |
References ltl::FMatrix< T, M, N >::swapRows().
Referenced by ltl::GaussJ< T, N >::eval(), and ltl::GaussJ< T, N >::solve().
|
inlinestaticprotected |
References ltl::FMatrix< T, M, N >::row().
Referenced by ltl::GaussJ< T, N >::eval(), ltl::GaussJ< T, N >::invert(), and ltl::GaussJ< T, N >::solve().
|
inlinestaticprotected |
References ltl::FMatrix< T, M, N >::row().
|
inlinestaticprotected |
Referenced by ltl::GaussJ< T, N >::eval(), ltl::GaussJ< T, N >::invert(), and ltl::GaussJ< T, N >::solve().
|
inlinestaticprotected |
|
inlinestatic |
invert Matrix, similar to eval() but without solving a linear equation
References ltl::GaussJ< T, N >::divByPiv(), ltl::GaussJ< T, N >::elimRow(), ltl::GaussJ< T, N >::getPivot(), and ltl::FMatrix< T, M, N >::swapRows().
|
inlinestatic |
Return the solution vector x
for the equation A x = b
References ltl::GaussJ< T, N >::divByPiv(), ltl::GaussJ< T, N >::elimRow(), ltl::GaussJ< T, N >::getPivot(), and ltl::GaussJ< T, N >::swapRows().
Referenced by ltl::PolynomFit< TPAR, TDAT, ORDER, EXT, 1 >::eval(), ltl::PolynomFit< TPAR, TDAT, ORDER, false, 2 >::eval(), ltl::PolynomFit< TPAR, TDAT, ORDER, true, 2 >::eval(), and ltl::WCS< 2 >::p_().
|
inlinestatic |
Solve A x = B
by Gauss-Jordan elimination. b is replaced by the solution x, A is replaced by its inverse.
References ltl::GaussJ< T, N >::divByPiv(), ltl::GaussJ< T, N >::elimRow(), ltl::GaussJ< T, N >::getPivot(), and ltl::GaussJ< T, N >::swapRows().