ViennaCL - The Vienna Computing Library
1.5.0
|
A tag for a row scaling preconditioner which merely normalizes the equation system such that each row of the system matrix has unit norm. More...
#include <row_scaling.hpp>
Public Member Functions | |
row_scaling_tag (unsigned int p=2) | |
Constructor. | |
unsigned int | norm () const |
Returns the index p of the l^p-norm (0 ... ||x||_sup, 1... sum(abs(x)), 2... sqrt(sum(x_i^2))). Currently only p=0, p=1, and p=2 supported. |
A tag for a row scaling preconditioner which merely normalizes the equation system such that each row of the system matrix has unit norm.
row_scaling_tag | ( | unsigned int | p = 2 | ) | [inline] |
Constructor.
p | Integer selecting the desired row norm. |
unsigned int norm | ( | ) | const [inline] |
Returns the index p of the l^p-norm (0 ... ||x||_sup, 1... sum(abs(x)), 2... sqrt(sum(x_i^2))). Currently only p=0, p=1, and p=2 supported.