:orphan: # MatFactorGetPreferredOrdering The preferred ordering for a particular matrix factor object ## Synopsis ``` #include "petscmat.h" PetscErrorCode MatFactorGetPreferredOrdering(Mat mat, MatFactorType ftype, MatOrderingType *otype) ``` Logically Collective ## Input Parameters - ***mat -*** the matrix obtained with `MatGetFactor()` - ***ftype -*** the factorization type to be used ## Output Parameter - ***otype -*** the preferred ordering type ## See Also [](ch_matrices), `Mat`, [Matrix Factorization](sec_matfactor), `MatFactorType`, `MatOrderingType`, `MatCopy()`, `MatDuplicate()`, `MatGetFactorAvailable()`, `MatGetFactor()`, `MatLUFactorSymbolic()`, `MatCholeskyFactorSymbolic()` ## Level developer ## Location src/mat/interface/matrix.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)