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

A tag for a row preconditioner. 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 (1... sum(abs(x)), 2... sqrt(sum(x_i^2))). Currently only p=1 and p=2 supported.

Detailed Description

A tag for a row preconditioner.

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 (1... sum(abs(x)), 2... sqrt(sum(x_i^2))). Currently only p=1 and p=2 supported.


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