**petsc-3.12.3 2020-01-03**

# MATSEQSBAIJ

MATSEQSBAIJ = "seqsbaij" - A matrix type to be used for sequential symmetric block sparse matrices, based on block compressed sparse row format. Only the upper triangular portion of the matrix is stored. For complex numbers by default this matrix is symmetric, NOT Hermitian symmetric. To make it Hermitian symmetric you
can call MatSetOption(Mat, MAT_HERMITIAN); after MatAssemblyEnd()

### Options Database Keys

. -mat_type seqsbaij - sets the matrix type to "seqsbaij" during a call to MatSetFromOptions()

### Notes

By default if you insert values into the lower triangular part of the matrix they are simply ignored (since they are not
stored and it is assumed they symmetric to the upper triangular). If you call MatSetOption(Mat,MAT_IGNORE_LOWER_TRIANGULAR,PETSC_FALSE) or use
the options database -mat_ignore_lower_triangular false it will generate an error if you try to set a value in the lower triangular portion.
The number of rows in the matrix must be less than or equal to the number of columns

.seealso: MatCreateSeqSBAIJ(), MatType, MATMPISBAIJ

### Level

beginner

### Location

src/mat/impls/sbaij/seq/sbaij.c
### Examples

src/ksp/ksp/examples/tutorials/ex59.c.html

Index of all Mat routines

Table of Contents for all manual pages

Index of all manual pages