:orphan:
# MatShellSetManageScalingShifts
Allows the user to control the scaling and shift operations of the `MATSHELL`. Must be called immediately after `MatCreateShell()`
## Synopsis
```
#include "petscmat.h"
PetscErrorCode MatShellSetManageScalingShifts(Mat A)
```
Logically Collective
## Input Parameter
- ***mat -*** the `MATSHELL` shell matrix
## See Also
[](ch_matrices), `Mat`, `MATSHELL`, `MatCreateShell()`, `MatShellGetContext()`, `MatShellGetOperation()`, `MatShellSetContext()`, `MatShellSetOperation()`
## Level
advanced
## Location
src/mat/impls/shell/shell.c
## Implementations
MatShellSetManageScalingShifts_Shell in src/mat/impls/shell/shell.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/shell/shell.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)