# 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 on A


## Input Parameter

- ***mat -*** the `MATSHELL` shell matrix





## See Also
 `MATSHELL`, `MatCreateShell()`, `MatShellGetContext()`, `MatShellGetOperation()`, `MatShellSetContext()`, `MatShellSetOperation()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/shell/shell.c.html#MatShellSetManageScalingShifts">src/mat/impls/shell/shell.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/shell/shell.c.html#MatShellSetManageScalingShifts_Shell">MatShellSetManageScalingShifts_Shell in src/mat/impls/shell/shell.c</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
