Returns the compressed column storage i and j indices for sequential matrices.


#include "petscmat.h" 
PetscErrorCode PETSCMAT_DLLEXPORT MatGetColumnIJ(Mat mat,PetscInt shift,PetscTruth symmetric,PetscInt *n,PetscInt *ia[],PetscInt* ja[],PetscTruth *done)
Collective on Mat

Input Parameters

mat - the matrix
shift - 1 or zero indicating we want the indices starting at 0 or 1
symmetric - PETSC_TRUE or PETSC_FALSE indicating the matrix data structure should be symmetrized

Output Parameters

n - number of columns in the (possibly compressed) matrix
ia - the column pointers
ja - the row indices
done - PETSC_TRUE or PETSC_FALSE, indicating whether the values have been returned

See Also

MatGetRowIJ(), MatRestoreColumnIJ()

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages