#include "petscmat.h" int MatSeqAIJSetColumnIndices(Mat mat,int *indices)
mat | - the SeqAIJ matrix | |
indices | - the column indices |
You MUST have set the correct numbers of nonzeros per row in the call to MatCreateSeqAIJ().
MUST be called before any calls to MatSetValues();
The indices should start with zero, not one.
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