+
    /•üiê  ã                   ó$   € R t ^RIHt ^ RItR tR# )a  
This module provides a function that calculates RHO when it needs to be reduced.

Translated from Zaikun Zhang's modern-Fortran reference implementation in PRIMA.

Dedicated to late Professor M. J. D. Powell FRS (1936--2015).

Python translation by Nickolai Belakovski.
)Ú	DEBUGGINGNc                ó  € \         '       d   Yu;8”  d	   ^ 8”  g   Q h Q hW,          pV^ú8”  d   RV ,          pM'V^8:  d   TpM\        P                  ! V4      V,          p\         '       d   Yu;8”  d	   V8¼  g   Q h Q hV# )aI  
This function calculates RHO when it needs to be reduced.
The scheme is shared by UOBYQA, NEWUOA, BOBYQA, LINCOA. For COBYLA, Powell's code reduces RHO by
'RHO *= 0.5; if RHO <= 1.5 * RHOEND: RHO = RHOEND' as specified in (11) of the COBYLA
paper. However, this scheme seems to work better, especially after we introduce DELTA.
gš™™™™™¹?)r   ÚnpÚsqrt)Úrho_inÚrhoendÚ	rho_ratioÚrhos   &&  Ú^/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/_lib/pyprima/common/redrho.pyÚredrhor      s{   € ÷ ƒyØÖ" Ô"Ð"Ñ"Ð"Ð"ð •€Ià3„ØFl‰Ø	bŒØ‰ägŠgiÓ  6Õ)ˆ÷ ƒyØÖ%˜vÔ%Ð%Ñ%Ð%Ð%à€Jó    )Ú__doc__Úconstsr   Únumpyr   r   © r   r
   Ú<module>r      s   ðñõ Û ô!r   