:orphan: # 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()` The `SNES` option `-snes_fd_coloring` will cause the Jacobian needed by `SNES` to be computed via a use of this object ## See Also [](ch_matrices), `Mat`, `MatFDColoringCreate()`, `MatFDColoringSetFunction()`, `MatColoring`, `DMCreateColoring()` ## Level beginner ## Location include/petscmat.h ## Implementations _p_MatFDColoring in include/petsc/private/matimpl.h
--- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)