# KSPLSQRGetStandardErrorVec
Get vector of standard error estimates. Only available if -ksp_lsqr_set_standard_error was set to true or `KSPLSQRSetComputeStandardErrorVec`(ksp, `PETSC_TRUE`) was called. Otherwise returns NULL. 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode KSPLSQRGetStandardErrorVec(KSP ksp, Vec *se)
```
Not Collective


## Input Parameters

- ***ksp   -*** iterative context



## Output Parameters

- ***se -*** vector of standard estimates





## Developer Note
Vaclav: I'm not sure whether this vector is useful for anything.


## See Also
 [](chapter_ksp), `KSPSolve()`, `KSPLSQR`, `KSPLSQRSetComputeStandardErrorVec()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/lsqr/lsqr.c.html#KSPLSQRGetStandardErrorVec">src/ksp/ksp/impls/lsqr/lsqr.c</A>


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


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