# TaoLineSearchGetStartingVector
Gets a the initial point of the line search. 
## Synopsis
```
#include "petsctaolinesearch.h" 
PetscErrorCode TaoLineSearchGetStartingVector(TaoLineSearch ls, Vec *x)
```
Not Collective


## Input Parameter

- ***ls -*** the TaoLineSearch context



## Output Parameter

- ***x -*** The initial point of the line search




## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/linesearch/interface/taolinesearch.c.html#TaoLineSearchGetStartingVector">src/tao/linesearch/interface/taolinesearch.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/linesearch/interface/taolinesearch.c)


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