:orphan:
# MatKAIJGetScaledIdentity
Check if both `S` and `T` are scaled identities.
## Synopsis
```
#include "petscmat.h"
PetscErrorCode MatKAIJGetScaledIdentity(Mat A, PetscBool *identity)
```
Logically Collective.
## Input Parameter
- ***A -*** the `MATKAIJ` matrix
## Output Parameter
- ***identity -*** the Boolean value
## See Also
[](ch_matrices), `Mat`, `MATKAIJ`, `MatKAIJGetS()`, `MatKAIJGetT()`
## Level
Advanced
## Location
src/mat/impls/kaij/kaij.c
## Examples
src/ksp/ksp/tutorials/ex77.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/kaij/kaij.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)