# 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
- ***fill -*** expected fill factor >= 1.0
- ***level -*** level of fill, for ICC(k)



## 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
 `Mat`, `MatGetFactor()`, `MatICCFactorSymbolic()`, `MatLUFactorNumeric()`, `MatCholeskyFactor()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/interface/matrix.c.html#MatICCFactor">src/mat/interface/matrix.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/sbaij/seq/sbaij.c.html#MatICCFactor_SeqSBAIJ">MatICCFactor_SeqSBAIJ in src/mat/impls/sbaij/seq/sbaij.c</A><BR>


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