:orphan:
# MatICCFactor
Performs in-place incomplete Cholesky factorization of matrix.
## Synopsis
```
#include "petscmat.h"
PetscErrorCode MatICCFactor(Mat mat, IS row, const MatFactorInfo *info)
```
Collective
## Input Parameters
- ***mat -*** the matrix
- ***row -*** row/column permutation
- ***info -*** information on desired factorization process
## Notes
Probably really in-place only when level of fill is zero, otherwise allocates
new space to store factored matrix and deletes previous memory.
Most users should employ the `KSP` interface for linear solvers
instead of working directly with matrix algebra routines such as this.
See, e.g., `KSPCreate()`.
## Developer Note
The Fortran interface is not autogenerated as the
interface definition cannot be generated correctly [due to `MatFactorInfo`]
## See Also
[](ch_matrices), `Mat`, `MatFactorInfo`, `MatGetFactor()`, `MatICCFactorSymbolic()`, `MatLUFactorNumeric()`, `MatCholeskyFactor()`
## Level
developer
## Location
src/mat/interface/matrix.c
## Implementations
MatICCFactor_SeqSBAIJ in src/mat/impls/sbaij/seq/sbaij.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/interface/matrix.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)