Ë
    âQ(h.  ã                   ó(  — d dl Z d dlmZmZ d dlZd dlmZmZm	Z	 d dl
mZ e j                  j                  deee	g«      d„ «       Zd„ Ze j                  j                  deee	g«      d	„ «       Ze j                  j                  deee	g«      d
„ «       Zy)é    N)Úassert_allcloseÚassert_)ÚRK23ÚRK45ÚDOP853)Údop853_coefficientsÚsolverc                 óÈ   — t        t        j                  | j                  «      dd¬«       t        t        j                  | j                  d¬«      | j
                  d¬«       y ©Né   gVçž¯Ò<)Úrtol)Úaxisg›+¡†›„=)r   ÚnpÚsumÚBÚAÚC)r	   s    ú`/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/scipy/integrate/_ivp/tests/test_rk.pyÚtest_coefficient_propertiesr      s:   € ä”B—F‘F˜6Ÿ8™8Ó$ a¨eÕ4Ü”B—F‘F˜6Ÿ8™8¨!Ô,¨f¯h©h¸UÖCó    c                  óà   — t        t        j                  t        j                  «      dd¬«       t        t        j                  t        j
                  d¬«      t        j                  d¬«       y r   )r   r   r   r   r   r   r   © r   r   Ú"test_coefficient_properties_dop853r      sF   € Ü”B—F‘FÔ.×0Ñ0Ó1°1¸5ÕAÜ”B—F‘FÔ.×0Ñ0°qÔ9Ü'×)Ñ)Øö r   Úsolver_classc                 ó,  — d} | d„ ddgd|¬«      }|j                  «        |j                  |j                  |«      }|j                  t	        j
                  |g«      z
  }t        t	        j                  |«      t	        j                  |«      k  «       y )Nçš™™™™™É?c                 ó   — |S )Nr   ©ÚtÚys     r   ú<lambda>z'test_error_estimation.<locals>.<lambda>   s   €  q€ r   r   r   ©Ú
first_step)ÚstepÚ_estimate_errorÚKr    r   Úexpr   Úabs)r   r$   r	   Úerror_estimateÚerrors        r   Útest_error_estimationr+      sp   € à€DÙ™.¨!¨a¨S°!ÀÔE€FØ
‡K�K„MØ×+Ñ+¨F¯H©H°dÓ;€NØ�H‰H”r—v‘v˜t˜f“~Ñ%€EÜŒB�F‰F�5‹MœBŸF™F >Ó2Ñ2Õ3r   c                 ó²   — d} | d„ ddgd|¬«      }|j                  «        |j                  |j                  |dg¬«      }t        j                  |«      sJ ‚y )Nr   c                 ó   — d|z  S )Nù              ð?r   r   s     r   r!   z/test_error_estimation_complex.<locals>.<lambda>"   s
   €  r¨A¡v€ r   r   r.   r   r"   )Úscale)r$   Ú_estimate_error_normr&   r   Ú	isrealobj)r   Úhr	   Úerr_norms       r   Útest_error_estimation_complexr4      sT   € à€AÙÑ-¨q°2°$¸ÀaÔH€FØ
‡K�K„MØ×*Ñ*¨6¯8©8°Q¸q¸cÐ*ÓB€HÜ�<‰<˜Ô!Ð!Ñ!r   )ÚpytestÚnumpy.testingr   r   Únumpyr   Úscipy.integrater   r   r   Úscipy.integrate._ivpr   ÚmarkÚparametrizer   r   r+   r4   r   r   r   ú<module>r<      s¢   ðÛ ß 2Û ß .Ñ .Ý 4ð ‡�×Ñ˜ D¨$°Ð#7Ó8ñDó 9ðDò
 ð ‡�×Ñ˜¨$°°fÐ)=Ó>ñ4ó ?ð4ð ‡�×Ñ˜¨$°°fÐ)=Ó>ñ"ó ?ñ"r   