MatSetInf#
Set every entry (of a given nonzero pattern) of a matrix to positive infinity.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatSetInf(Mat A)
Logically Collective
Input Parameter#
A - the matrix
See Also#
Mat, MatZeroEntries(), MatSetValues()
Level#
developer
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages