:orphan:
# MatTransposeColoringCreate
Creates a matrix coloring context for the matrix product C=A*B^T. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatTransposeColoringCreate(Mat mat, ISColoring iscoloring, MatTransposeColoring *color)
```
Collective


## Input Parameters

- ***mat -*** the matrix product C
- ***iscoloring -*** the coloring of the matrix; usually obtained with `MatColoringCreate()` or `DMCreateColoring()`



## Output Parameter

- ***color -*** the new coloring context





## See Also
 [](ch_matrices), `Mat`, `MatTransposeColoringDestroy()`, `MatTransColoringApplySpToDen()`,
`MatTransColoringApplyDenToSp()`

## Level
intermediate

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/aij/seq/matmatmult.c.html#MatTransposeColoringCreate_SeqAIJ">MatTransposeColoringCreate_SeqAIJ in src/mat/impls/aij/seq/matmatmult.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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
