# TaoGetLMVMMatrix
Returns a pointer to the internal LMVM matrix. Valid only for quasi-Newton family of methods. 
## Synopsis
```
#include "petsctao.h" 
#include "petscmat.h" 
PetscErrorCode TaoGetLMVMMatrix(Tao tao, Mat *B)
```

## Input Parameters

- ***tao -*** Tao solver context



## Output Parameters

- ***B -*** LMVM matrix





## See Also
 `TAOBQNLS`, `TAOBQNKLS`, `TAOBQNKTL`, `TAOBQNKTR`, `MATLMVM`, `TaoSetLMVMMatrix()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/bound/impls/bqnk/bqnk.c.html#TaoGetLMVMMatrix">src/tao/bound/impls/bqnk/bqnk.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/bound/impls/bqnk/bqnk.c)


[Index of all Tao routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
