#include "petscmat.h" int MatDiagonalSet(Mat Y,Vec D,InsertMode is)
Y | - the input matrix | |
D | - the diagonal matrix, represented as a vector | |
i | - INSERT_VALUES or ADD_VALUES |
Level:intermediate
Location:src/mat/utils/axpy.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages