:orphan:
# MatSeqSBAIJGetArray
gives access to the array where the numerical data for a `MATSEQSBAIJ` matrix is stored
## Synopsis
```
#include "petscmat.h"
PetscErrorCode MatSeqSBAIJGetArray(Mat A, PetscScalar **array)
```
Not Collective
## Input Parameter
- ***mat -*** a `MATSEQSBAIJ` matrix
## Output Parameter
- ***array -*** pointer to the data
## See Also
[](ch_matrices), `Mat`, `MATSEQSBAIJ`, `MatSeqSBAIJRestoreArray()`, `MatSeqAIJGetArray()`, `MatSeqAIJRestoreArray()`
## Level
intermediate
## Location
src/mat/impls/sbaij/seq/sbaij.c
## Implementations
MatSeqSBAIJGetArray_SeqSBAIJ in src/mat/impls/sbaij/seq/sbaij.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/sbaij/seq/sbaij.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)