:orphan: # MatRestoreRowUpperTriangular Disable calls to `MatGetRow()` for matrix in `MATSBAIJ` format. ## Synopsis ``` #include "petscmat.h" PetscErrorCode MatRestoreRowUpperTriangular(Mat mat) ``` Not Collective ## Input Parameter - ***mat -*** the matrix ## Note This routine should be called after you have finished calls to `MatGetRow()` and `MatRestoreRow()`. ## See Also [](ch_matrices), `Mat`, `MATSBAIJ`, `MatGetRowUpperTriangular()` ## Level advanced ## Location src/mat/interface/matrix.c ## Implementations MatRestoreRowUpperTriangular_MPISBAIJ in src/mat/impls/sbaij/mpi/mpisbaij.c
MatRestoreRowUpperTriangular_SeqSBAIJ in src/mat/impls/sbaij/seq/sbaij.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/interface/matrix.c) [Index of all Mat routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)