MatRestoreColumnIJ

Call after you are completed with the ia,ja indices obtained with MatGetColumnIJ(). EXPERTS ONLY.

Synopsis

int MatRestoreColumnIJ(Mat mat,int shift,PetscTruth symmetric,int *n,int **ia,int** 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 - size of (possibly compressed) matrix
ia - the column pointers
ja - the row indices
done - PETSC_TRUE or PETSC_FALSE indicated that the values have been returned

See Also

MatGetColumnIJ(), MatRestoreRowIJ()

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents