# 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
 [](chapter_ksp), `KSPGLTR`, `KSPGLTRGetMinEig()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/cg/gltr/gltr.c.html#KSPGLTRGetLambda">src/ksp/ksp/impls/cg/gltr/gltr.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/cg/gltr/gltr.c.html#KSPGLTRGetLambda_GLTR">KSPGLTRGetLambda_GLTR in src/ksp/ksp/impls/cg/gltr/gltr.c</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
