:orphan:
# MatPropagateSymmetryOptions
Propagates symmetry options set on a matrix to another matrix 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatPropagateSymmetryOptions(Mat A, Mat B)
```
Not Collective


## Input Parameters

- ***A -*** the matrix we wish to propagate options from
- ***B -*** the matrix we wish to propagate options to





## Note
Propagates the options associated to `MAT_SYMMETRY_ETERNAL`, `MAT_STRUCTURALLY_SYMMETRIC`, `MAT_HERMITIAN`, `MAT_SPD`, `MAT_SYMMETRIC`, and `MAT_STRUCTURAL_SYMMETRY_ETERNAL`


## See Also
 [](ch_matrices), `Mat`, `MatSetOption()`, `MatIsSymmetricKnown()`, `MatIsSPDKnown()`, `MatIsHermitianKnown()`, MatIsStructurallySymmetricKnown()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/interface/matrix.c.html#MatPropagateSymmetryOptions">src/mat/interface/matrix.c</A>


---
[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)  
