MatDenseRestoreColumnVecRead#

Returns access to a column of a dense matrix obtained from MatDenseGetColumnVecRead().

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatDenseRestoreColumnVecRead(Mat A, PetscInt col, Vec *v)

Collective

Input Parameters#

  • mat - the Mat object

  • col - the column index

  • v - the Vec object (may be NULL)

See Also#

Matrices, Mat, MATDENSE, MATDENSECUDA, MATDENSEHIP, MatDenseGetColumnVec(), MatDenseGetColumnVecRead(), MatDenseGetColumnVecWrite(), MatDenseRestoreColumnVec(), MatDenseRestoreColumnVecWrite()

Level#

intermediate

Location#

src/mat/impls/dense/seq/dense.c

Implementations#

MatDenseRestoreColumnVecRead_MPIDense in src/mat/impls/dense/mpi/mpidense.c
MatDenseRestoreColumnVecRead_SeqDense in src/mat/impls/dense/seq/dense.c


Edit on GitLab

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages