:orphan: # KSPGLTRGetLambda Get the multiplier on the trust-region constraint when using `KSPGLTR` t Not Collective ## Synopsis ``` #include "petscksp.h" PetscErrorCode KSPGLTRGetLambda(KSP ksp, PetscReal *lambda) ``` ## Input Parameter - ***ksp -*** the iterative context ## Output Parameter - ***lambda -*** the multiplier ## See Also [](ch_ksp), `KSPGLTR`, `KSPGLTRGetMinEig()` ## Level advanced ## Location src/ksp/ksp/impls/cg/gltr/gltr.c ## Implementations KSPGLTRGetLambda_GLTR in src/ksp/ksp/impls/cg/gltr/gltr.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/impls/cg/gltr/gltr.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)