A tag for FSPAI. Experimental.  
 More...
#include <fspai.hpp>
A tag for FSPAI. Experimental. 
Contains values for the algorithm. Must be passed to spai_precond constructor 
- Examples: 
- spai.cpp.
Definition at line 71 of file fspai.hpp.
  
  | 
        
          | viennacl::linalg::detail::spai::fspai_tag::fspai_tag | ( | double | residual_norm_threshold = 1e-3, |  
          |  |  | unsigned int | iteration_limit = 5, |  
          |  |  | bool | is_static = false, |  
          |  |  | bool | is_right = false |  
          |  | ) |  |  |  | inline | 
 
Constructor. 
- Parameters
- 
  
    | residual_norm_threshold | Calculate until the norm of the residual falls below this threshold |  | iteration_limit | maximum number of iterations |  | is_static | determines if static version of SPAI should be used |  | is_right | determines if left or right preconditioner should be used |  
 
Definition at line 81 of file fspai.hpp.
 
 
  
  | 
        
          | bool viennacl::linalg::detail::spai::fspai_tag::getIsRight | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | bool viennacl::linalg::detail::spai::fspai_tag::getIsStatic | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | unsigned long viennacl::linalg::detail::spai::fspai_tag::getIterationLimit | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | double viennacl::linalg::detail::spai::fspai_tag::getResidualNormThreshold | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::spai::fspai_tag::setIsRight | ( | bool | is_right | ) |  |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::spai::fspai_tag::setIsStatic | ( | bool | is_static | ) |  |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::spai::fspai_tag::setIterationLimit | ( | unsigned long | iteration_limit | ) |  |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::spai::fspai_tag::setResidualNormThreshold | ( | double | residual_norm_threshold | ) |  |  | inline | 
 
 
The documentation for this class was generated from the following file: