#include "petscmat.h" PetscErrorCode MatDiagonalSet(Mat Y,Vec D,InsertMode is)Neighbor-wise Collective on Mat

Y | - the input matrix | |

D | - the diagonal matrix, represented as a vector | |

i | - INSERT_VALUES or ADD_VALUES |

src/ts/tutorials/ex50.c.html

src/tao/constrained/tutorials/tomographyADMM.c.html

src/tao/pde_constrained/tutorials/elliptic.c.html

src/tao/tutorials/ex4.c.html

MatDiagonalSet_SeqAIJ in src/mat/impls/aij/seq/aij.c

MatDiagonalSet_IS in src/mat/impls/is/matis.c

MatDiagonalSet_Nest in src/mat/impls/nest/matnest.c

MatDiagonalSet_MPISELL in src/mat/impls/sell/mpi/mpisell.c

MatDiagonalSet_Shell in src/mat/impls/shell/shell.c

Index of all Mat routines

Table of Contents for all manual pages

Index of all manual pages