:orphan: # KSPLSQRSetComputeStandardErrorVec Compute a vector of standard error estimates during `KSPSolve()` for `KSPLSQR`. ## Synopsis ``` #include "petscksp.h" PetscErrorCode KSPLSQRSetComputeStandardErrorVec(KSP ksp, PetscBool flg) ``` Logically Collective ## Input Parameters - ***ksp -*** iterative context - ***flg -*** compute the vector of standard estimates or not ## Developer Note Vaclav: I'm not sure whether this vector is useful for anything. ## See Also [](ch_ksp), `KSPSolve()`, `KSPLSQR`, `KSPLSQRGetStandardErrorVec()` ## Level intermediate ## Location src/ksp/ksp/impls/lsqr/lsqr.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)