:orphan:
# MATMPIDENSE
MATMPIDENSE = "mpidense" - A matrix type to be used for distributed dense matrices. 
## Options Database Key

- ***-mat_type mpidense -*** sets the matrix type to `MATMPIDENSE` during a call to `MatSetFromOptions()`





## See Also
 [](ch_matrices), `Mat`, `MatCreateDense()`, `MATSEQDENSE`, `MATDENSE`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/dense/mpi/mpidense.c.html#MATMPIDENSE">src/mat/impls/dense/mpi/mpidense.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/dense/mpi/mpidense.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)  
