MatDenseRestoreArrayWriteAndMemType#
returns access to the array that is obtained by MatDenseGetArrayReadAndMemType()
Synopsis#
#include "petscmat.h"
PetscErrorCode MatDenseRestoreArrayWriteAndMemType(Mat A, PetscScalar **array)
Logically Collective
Input Parameters#
A - a dense matrix
array - pointer to the data
See Also#
Matrices, Mat, MATDENSE, MatDenseGetArrayWriteAndMemType(), MatDenseGetArray(), MatDenseGetArrayRead(), MatDenseRestoreArrayRead(), MatDenseGetArrayWrite(), MatDenseRestoreArrayWrite()
Level#
intermediate
Location#
src/mat/impls/dense/seq/dense.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages