#include "petscmat.h" PetscErrorCode MatSetValuesRow(Mat mat,PetscInt row,const PetscScalar v[])Not Collective
mat | - the matrix | |
row | - the (block) row to set | |
v | - a logically two-dimensional array of values |
All the nonzeros in the row must be provided
THE MATRIX MUSAT HAVE PREVIOUSLY HAD ITS COLUMN INDICES SET. IT IS RARE THAT THIS ROUTINE IS USED, usually MatSetValues() is used.
The row must belong to this process
Level:advanced
Location:src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages