MAGMA  1.5.0
Matrix Algebra for GPU and Multicore Architectures
 All Functions Groups
double-complex precision

Functions

magma_int_t magma_zaic_csr_c (magma_z_sparse_matrix A, magma_z_sparse_matrix A_CSR)
 This routine computes the ILU approximation of a matrix iteratively. More...
 

Detailed Description

Function Documentation

magma_int_t magma_zaic_csr_c ( magma_z_sparse_matrix  A,
magma_z_sparse_matrix  A_CSR 
)

This routine computes the ILU approximation of a matrix iteratively.

The idea is according to Edmond Chow's presentation at SIAM 2014. The input format of the matrix is Magma_ELLDD. In the same matrix, the ILU approximation will be returned. The approach is to store matrix L and U as ELL but(!) L as row major, U as col major. an additional array is needed to store infomation (0,1) whether this entry is within the uper/lower triangle.

Parameters
num_rowsmagma_int_t number of rows
num_vecsmagma_int_t number of vectors
shiftmagma_int_t shift number
xmagmaDoubleComplex* input/output vector x