ViennaCL - The Vienna Computing Library  1.5.0
Public Member Functions
row_scaling_tag Class Reference

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.

Detailed Description

A tag for a row scaling preconditioner which merely normalizes the equation system such that each row of the system matrix has unit norm.


Constructor & Destructor Documentation

row_scaling_tag ( unsigned int  p = 2) [inline]

Constructor.

Parameters:
pInteger selecting the desired row norm.

Member Function Documentation

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.


The documentation for this class was generated from the following file: