|
ViennaCL - The Vienna Computing Library
1.5.1
|
A tag for SPAI Contains values for the algorithm. Must be passed to spai_precond constructor. More...
#include <spai_tag.hpp>
Public Member Functions | |
| spai_tag (double residual_norm_threshold=1e-3, unsigned int iteration_limit=5, double residual_threshold=1e-2, bool is_static=false, bool is_right=false) | |
| Constructor. | |
| double | getResidualNormThreshold () const |
| double | getResidualThreshold () const |
| unsigned int | getIterationLimit () const |
| bool | getIsStatic () const |
| bool | getIsRight () const |
| long | getBegInd () const |
| long | getEndInd () const |
| void | setResidualNormThreshold (double residual_norm_threshold) |
| void | setResidualThreshold (double residual_threshold) |
| void | setIterationLimit (unsigned int iteration_limit) |
| void | setIsRight (bool is_right) |
| void | setIsStatic (bool is_static) |
| void | setBegInd (long beg_ind) |
| void | setEndInd (long end_ind) |
A tag for SPAI Contains values for the algorithm. Must be passed to spai_precond constructor.
| spai_tag | ( | double | residual_norm_threshold = 1e-3, |
| unsigned int | iteration_limit = 5, |
||
| double | residual_threshold = 1e-2, |
||
| bool | is_static = false, |
||
| bool | is_right = false |
||
| ) | [inline] |
Constructor.
| residual_norm_threshold | Calculate until the norm of the residual falls below this threshold |
| iteration_limit | maximum number of iterations |
| residual_threshold | determines starting threshold in residual vector for including new indices into set J |
| is_static | determines if static version of SPAI should be used |
| is_right | determines if left or right preconditioner should be used |
| long getBegInd | ( | ) | const [inline] |
| long getEndInd | ( | ) | const [inline] |
| bool getIsRight | ( | ) | const [inline] |
| bool getIsStatic | ( | ) | const [inline] |
| unsigned int getIterationLimit | ( | ) | const [inline] |
| double getResidualNormThreshold | ( | ) | const [inline] |
| double getResidualThreshold | ( | ) | const [inline] |
| void setBegInd | ( | long | beg_ind | ) | [inline] |
| void setEndInd | ( | long | end_ind | ) | [inline] |
| void setIsRight | ( | bool | is_right | ) | [inline] |
| void setIsStatic | ( | bool | is_static | ) | [inline] |
| void setIterationLimit | ( | unsigned int | iteration_limit | ) | [inline] |
| void setResidualNormThreshold | ( | double | residual_norm_threshold | ) | [inline] |
| void setResidualThreshold | ( | double | residual_threshold | ) | [inline] |
1.7.6.1