ViennaCL - The Vienna Computing Library  1.5.2
Public Member Functions
power_iter_tag Class Reference

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. More...
 
void factor (double fct)
 Sets the factor for termination. More...
 
double factor () const
 Returns the factor for termination. More...
 
vcl_size_t max_iterations () const
 
void max_iterations (vcl_size_t new_max)
 

Detailed Description

A tag for the power iteration algorithm.

Constructor & Destructor Documentation

power_iter_tag ( double  tfac = 1e-8,
vcl_size_t  max_iters = 50000 
)
inline

The constructor.

Parameters
tfacIf the eigenvalue does not change more than this termination factor, the algorithm stops
max_itersMaximum number of iterations for the power iteration

Member Function Documentation

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

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