# MatFDColoring
Object for computing a sparse Jacobian via finite differences with coloring 
## Synopsis
```
typedef struct _p_MatFDColoring *MatFDColoring;
```



## Notes
This object is creating utilizing a coloring provided by the `MatColoring` object or `DMCreateColoring()`


## See Also
 `MatFDColoringCreate()`, `MatFDColoringSetFunction()`, `MatColoring`, `DMCreateColoring()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscmat.h.html#MatFDColoring">include/petscmat.h</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petsc/private/matimpl.h.html#_p_MatFDColoring">_p_MatFDColoring in include/petsc/private/matimpl.h</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscmat.h)


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