#include <GaussJordan.h>
Static Public Member Functions | |
| bool | Solve (TNT::Matrix< double > &A, TNT::Vector< double > &b) |
| Solves the equation Ax=b using Gauss-Jordan method. | |
| bool | Invert (TNT::Matrix< double > &A, TNT::Matrix< double > &AInv) |
| Inverts the matrix A which is returned in AInv. | |
|
||||||||||||
|
Inverts the matrix A which is returned in AInv. This method leaves A untouched. If there is some problem with the input matrix A, we return false.
Definition at line 112 of file GaussJordan.cpp. References Solve(). Referenced by NewtonDegenerate::NewtonEquation(), and NewtonCritical::NewtonEquation(). |
|
||||||||||||
|
Solves the equation Ax=b using Gauss-Jordan method. You pass in the matrix A and the vector b. Upon return, A holds the inverse of the original matrix A and b holds the solution x = A^-1 * b. In other words, this method destroys both input A and b.
Definition at line 24 of file GaussJordan.cpp. Referenced by Invert(). |
1.3.4