|
TBCI Numerical high perf. C++ Library
2.8.0
|
gauss-jordan solver for linear systems TBCI::gaussj More...
#include "tbci/basics.h"#include "tbci/matrix.h"
Go to the source code of this file.
Macros | |
| #define | GJ_MINVAL 1e-16 |
| #define | HVAL 1e38 |
Functions | |
| template<typename T > | |
| NAMESPACE_TBCI char | gaussj (Matrix< T > &a, Matrix< T > &b) |
| #define GJ_MINVAL 1e-16 |
Definition at line 23 of file gauss_jordan.h.
Referenced by gaussj().
| #define HVAL 1e38 |
Definition at line 28 of file gauss_jordan.h.
Referenced by gaussj().
| NAMESPACE_TBCI char gaussj | ( | Matrix< T > & | a, |
| Matrix< T > & | b | ||
| ) |
gauss-jordan linear algebraic equation solver with pivoting; Num.Rec. p.39
Definition at line 46 of file gauss_jordan.h.
References a, b, BCHK, TMatrix< T >::col, err, std::fabs(), GJ_MINVAL, HVAL, i, MATH__, REGISTER, TMatrix< T >::row, STD__, TBCI::SWAP(), T, v, and z.
Referenced by lev_mar(), and LM_fit_2D().
1.8.5