MatDenseRestoreColumnVecWrite#
Returns access to a column of a dense matrix obtained from MatDenseGetColumnVecWrite().
Synopsis#
#include "petscmat.h"
PetscErrorCode MatDenseRestoreColumnVecWrite(Mat A, PetscInt col, Vec *v)
Collective
Input Parameters#
See Also#
Matrices, Mat, MATDENSE, MATDENSECUDA, MATDENSEHIP, MatDenseGetColumnVec(), MatDenseGetColumnVecRead(), MatDenseGetColumnVecWrite(), MatDenseRestoreColumnVec(), MatDenseRestoreColumnVecRead()
Level#
intermediate
Location#
Examples#
src/mat/tests/ex237.c
src/mat/tests/ex241.c
src/mat/tests/ex268.c
src/mat/tests/ex318.c
src/mat/tests/ex70.c
src/ksp/ksp/tests/ex90.c
src/snes/tests/ex8.c
Implementations#
MatDenseRestoreColumnVecWrite_MPIDense() in src/mat/impls/dense/mpi/mpidense.c
MatDenseRestoreColumnVecWrite_SeqDense() in src/mat/impls/dense/seq/dense.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages