ViennaCL - The Vienna Computing Library
1.5.2
|
A tag for the lanczos algorithm. More...
#include <lanczos.hpp>
Public Types | |
enum | { partial_reorthogonalization = 0, full_reorthogonalization, no_reorthogonalization } |
Public Member Functions | |
lanczos_tag (double factor=0.75, vcl_size_t numeig=10, int met=0, vcl_size_t krylov=100) | |
The constructor. More... | |
void | num_eigenvalues (int numeig) |
Sets the number of eigenvalues. More... | |
vcl_size_t | num_eigenvalues () const |
Returns the number of eigenvalues. More... | |
void | factor (double fct) |
Sets the exponent of epsilon. More... | |
double | factor () const |
Returns the exponent. More... | |
void | krylov_size (int max) |
Sets the size of the kylov space. More... | |
vcl_size_t | krylov_size () const |
Returns the size of the kylov space. More... | |
void | method (int met) |
Sets the reorthogonalization method. More... | |
int | method () const |
Returns the reorthogonalization method. More... | |
A tag for the lanczos algorithm.
anonymous enum |
|
inline |
The constructor.
factor | Exponent of epsilon - tolerance for batches of Reorthogonalization |
numeig | Number of eigenvalues to be returned |
met | Method for Lanczos-Algorithm: 0 for partial Reorthogonalization, 1 for full Reorthogonalization and 2 for Lanczos without Reorthogonalization |
krylov | Maximum krylov-space size |
|
inline |
Sets the exponent of epsilon.
|
inline |
Returns the exponent.
|
inline |
Sets the size of the kylov space.
|
inline |
Returns the size of the kylov space.
|
inline |
Sets the reorthogonalization method.
|
inline |
Returns the reorthogonalization method.
|
inline |
Sets the number of eigenvalues.
|
inline |
Returns the number of eigenvalues.