|
ViennaCL - The Vienna Computing Library
1.5.1
|
A tag for the power iteration algorithm. More...
#include <power_iter.hpp>
Public Member Functions | |
| power_iter_tag (double tfac=1e-8, vcl_size_t max_iters=50000) | |
| The constructor. | |
| void | factor (double fct) |
| Sets the factor for termination. | |
| double | factor () const |
| Returns the factor for termination. | |
| vcl_size_t | max_iterations () const |
| void | max_iterations (vcl_size_t new_max) |
A tag for the power iteration algorithm.
| power_iter_tag | ( | double | tfac = 1e-8, |
| vcl_size_t | max_iters = 50000 |
||
| ) | [inline] |
The constructor.
| tfac | If the eigenvalue does not change more than this termination factor, the algorithm stops |
| max_iters | Maximum number of iterations for the power iteration |
| void factor | ( | double | fct | ) | [inline] |
Sets the factor for termination.
| double factor | ( | ) | const [inline] |
Returns the factor for termination.
| vcl_size_t max_iterations | ( | ) | const [inline] |
| void max_iterations | ( | vcl_size_t | new_max | ) | [inline] |
1.7.6.1