:orphan: # TaoBRGNSetRegularizerWeight Set the regularizer weight for the Gauss-Newton least-squares algorithm ## Synopsis ``` #include "petsctao.h" PetscErrorCode TaoBRGNSetRegularizerWeight(Tao tao, PetscReal lambda) ``` Collective ## Input Parameters - ***tao -*** the `Tao` solver context - ***lambda -*** L1-norm regularizer weight ## See Also `Tao`, `Mat`, `TAOBRGN` ## Level beginner ## Location src/tao/leastsquares/impls/brgn/brgn.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/leastsquares/impls/brgn/brgn.c) [Index of all Tao routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)