:orphan:
# PCLMVMGetMatLMVM
Returns a pointer to the underlying `MATLMVM` matrix.
## Synopsis
```
#include "petscpc.h"
PetscErrorCode PCLMVMGetMatLMVM(PC pc, Mat *B)
```
## Input Parameter
- ***pc -*** An `PCLMVM` preconditioner
## Output Parameter
- ***B -*** matrix inside the preconditioner, one of type `MATLMVM`, `MATLDFP`, `MATLBFGS`, `MATLSR1`, `MATLBRDN`, `MATLMBRDN`, `MATLSBRDN`
## See Also
`PCLMVM`, `MATLMVM`, `MATLDFP`, `MATLBFGS`, `MATLSR1`, `MATLBRDN`, `MATLMBRDN`, `MATLSBRDN`, `PCLMVMSetMatLMVM()`
## Level
intermediate
## Location
src/ksp/pc/impls/lmvm/lmvmpc.c
## Examples
src/tao/unconstrained/tutorials/eptorsion1.c
src/tao/unconstrained/tutorials/eptorsion3.c
src/tao/unconstrained/tutorials/rosenbrock1.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/lmvm/lmvmpc.c)
[Index of all PC routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)