#include "petscmat.h" PetscErrorCode MatSeqAIJSetColumnIndices(Mat mat,PetscInt *indices)
mat | - the SeqAIJ matrix Many br | |
indices | - the column indices Many br |
Many br
You MUST have set the correct numbers of nonzeros per row in the call to Many brMatCreateSeqAIJ(), and the columns indices MUST be sorted. Many br
MUST be called before any calls to MatSetValues(); Many br
The indices should start with zero, not one. Many br
Level:advanced
Location:src/mat/impls/aij/seq/aij.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages