ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
ilut.hpp File Reference

Implementations of an incomplete factorization preconditioner with threshold (ILUT) More...

#include <vector>
#include <cmath>
#include <iostream>
#include "viennacl/forwards.h"
#include "viennacl/tools/tools.hpp"
#include "viennacl/linalg/detail/ilu/common.hpp"
#include "viennacl/compressed_matrix.hpp"
#include "viennacl/linalg/host_based/common.hpp"
#include <map>

Go to the source code of this file.

Classes

class  viennacl::linalg::ilut_tag
 A tag for incomplete LU factorization with threshold (ILUT) More...
 
struct  viennacl::linalg::detail::ilut_sparse_vector< NumericT >
 Helper struct for holding a sparse vector in linear memory. For internal use only. More...
 
class  viennacl::linalg::ilut_precond< MatrixT >
 ILUT preconditioner class, can be supplied to solve()-routines. More...
 
class  viennacl::linalg::ilut_precond< viennacl::compressed_matrix< NumericT, AlignmentV > >
 ILUT preconditioner class, can be supplied to solve()-routines. More...
 

Namespaces

 viennacl
 Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
 
 viennacl::linalg
 Provides all linear algebra operations which are not covered by operator overloads.
 
 viennacl::linalg::detail
 Namespace holding implementation details for linear algebra routines. Usually not of interest for a library user.
 

Functions

template<typename IndexT , typename NumericT >
IndexT viennacl::linalg::detail::merge_subtract_sparse_rows (IndexT const *w_coords, NumericT const *w_elements, IndexT w_size, IndexT const *u_coords, NumericT const *u_elements, IndexT u_size, NumericT alpha, IndexT *z_coords, NumericT *z_elements)
 Subtracts a scaled sparse vector u from a sparse vector w and writes the output to z: z = w - alpha * u. More...
 
template<typename SizeT , typename NumericT >
void viennacl::linalg::detail::insert_with_value_sort (std::vector< std::pair< SizeT, NumericT > > &map, SizeT index, NumericT value)
 
template<typename NumericT >
void viennacl::linalg::precondition (viennacl::compressed_matrix< NumericT > const &A, viennacl::compressed_matrix< NumericT > &L, viennacl::compressed_matrix< NumericT > &U, ilut_tag const &tag)
 Implementation of a ILU-preconditioner with threshold. Optimized implementation for compressed_matrix. More...
 

Detailed Description

Implementations of an incomplete factorization preconditioner with threshold (ILUT)

Definition in file ilut.hpp.