# TaoLMVMSetH0
Set the initial Hessian for the QN approximation 
## Synopsis
```
#include "petsctaolinesearch.h" 
PetscErrorCode TaoLMVMSetH0(Tao tao, Mat H0)
```

## Input Parameters

- ***tao  -*** the Tao solver context
- ***H0 -*** Mat object for the initial Hessian





## See Also
 `TaoLMVMGetH0()`, `TaoLMVMGetH0KSP()`

## Level
advanced

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

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/tutorials/ex3.c.html">src/tao/tutorials/ex3.c.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/bound/impls/blmvm/blmvm.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)  
