MatRestoreArray

Restores the matrix after MatGetArray() has been called.

Synopsis

int MatRestoreArray(Mat mat,Scalar **v)
Not Collective

Input Parameter

mat - the matrix
v - the location of the values

Fortran Note

The Fortran interface is slightly different from that given below. See the users manual and petsc/src/mat/examples for details.

Keywords

matrix, array, elements, values, restore

See Also

MatGetArray()

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents