# MatMatTransposeSolve
Solves A X = B^T, given a factored matrix. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatMatTransposeSolve(Mat A, Mat Bt, Mat X)
```
Neighbor-wise Collective


## Input Parameters

- ***A -*** the factored matrix
- ***Bt -*** the transpose of right-hand-side matrix as a `MATDENSE`



## Output Parameter

- ***X -*** the result matrix (dense matrix)





## Note
For MUMPS, it only supports centralized sparse compressed column format on the host processor for right hand side matrix. User must create B^T in sparse compressed row
format on the host processor and call `MatMatTransposeSolve()` to implement MUMPS' `MatMatSolve()`.


## See Also
 `Mat`, [Matrix Factorization](sec_matfactor), `MatMatSolve()`, `MatMatSolveTranspose()`, `MatLUFactor()`, `MatCholeskyFactor()`

## Level
developer

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/aij/mpi/mumps/mumps.c.html#MatMatTransposeSolve_MUMPS">MatMatTransposeSolve_MUMPS in src/mat/impls/aij/mpi/mumps/mumps.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)  
