KrisLibrary
1.0.0
|
A matrix conditioner that does a pre/postmultiply with a diagonal S. More...
#include <Conditioner.h>
Public Types | |
enum | Method { None, NormalizeDiagonal } |
An enum for how to calculate the scaling. | |
Public Member Functions | |
Conditioner_SymmDiag (Matrix &A, Vector &b, Method method) | |
void | Post (Vector &x) const |
void | CalculateS (Method m) |
void | CalculateS_NormalizeDiagonal () |
Public Member Functions inherited from Math::MatrixEquation | |
MatrixEquation (const Matrix &A, const Vector &b) | |
bool | Solve (Vector &x) const |
bool | Solve_Cholesky (Vector &x) const |
bool | Solve_LU (Vector &x) const |
bool | Solve_SVD (Vector &x) const |
bool | Solve_Jacobi (Vector &x, int maxIters=100, Real tol=Epsilon) const |
bool | Solve_GaussSeidel (Vector &x, int maxIters=100, Real tol=Epsilon) const |
bool | Solve_SOR (Vector &x, Real omega=1.25, int maxIters=100, Real tol=Epsilon) const |
bool | LeastSquares (Vector &x) const |
bool | LeastSquares_Cholesky (Vector &x) const |
bool | LeastSquares_QR (Vector &x) const |
bool | LeastSquares_SVD (Vector &x) const |
bool | LeastSquares_GaussSeidel (Vector &x, int maxIters=100, Real tol=Epsilon) const |
bool | LBackSubstitute (Vector &x) const |
bool | UBackSubstitute (Vector &x) const |
bool | LTBackSubstitute (Vector &x) const |
bool | AllSolutions (Vector &x0, Matrix &N) const |
bool | AllSolutions_RE (Vector &x0, Matrix &N) const |
bool | AllSolutions_SVD (Vector &x0, Matrix &N) const |
bool | IsValid () const |
void | Residual (const Vector &x, Vector &r) const |
Public Attributes | |
DiagonalMatrix | S |
Public Attributes inherited from Math::MatrixEquation | |
const Matrix & | A |
const Vector & | b |
A matrix conditioner that does a pre/postmultiply with a diagonal S.