KrisLibrary  1.0.0
Conditioner.h
Go to the documentation of this file.
1 #ifndef MATH_CONDITIONER_H
2 #define MATH_CONDITIONER_H
3 
4 #include "matrix.h"
5 #include "DiagonalMatrix.h"
6 #include "linalgebra.h"
7 
29 namespace Math {
32 
35 {
37  enum Method { None, NormalizeDiagonal };
39 
40  void Post(Vector& x) const;
41  void CalculateS(Method m);
42  void CalculateS_NormalizeDiagonal();
43 
45 };
46 
48 } //namespace Math
49 
50 #endif
A matrix conditioner that does a pre/postmultiply with a diagonal S.
Definition: Conditioner.h:34
Definition: linalgebra.h:31
Method
An enum for how to calculate the scaling.
Definition: Conditioner.h:37
Contains all definitions in the Math package.
Definition: WorkspaceBound.h:12