:orphan:
# MatMFFDGetH
Gets the last value that was used as the differencing for a `MATMFFD` matrix parameter.
## Synopsis
```
#include "petscmat.h"
PetscErrorCode MatMFFDGetH(Mat mat, PetscScalar *h)
```
Not Collective
## Input Parameters
- ***mat -*** the `MATMFFD` matrix
## Output Parameter
- ***h -*** the differencing step size
## See Also
[](ch_matrices), `Mat`, `MATMFFD`, `MatCreateSNESMF()`, `MatMFFDSetHHistory()`, `MatCreateMFFD()`, `MATMFFD`, `MatMFFDResetHHistory()`
## Level
advanced
## Location
src/mat/impls/mffd/mffd.c
## Implementations
MatMFFDGetH_MFFD in src/mat/impls/mffd/mffd.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/mffd/mffd.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)