+
    LV-j#  ã                   óB   € ^ RI HtHtHtHtHtHt ^ RIHt R.t	RR lt
R# )é    )ÚzerosÚasarrayÚeyeÚpoly1dÚhstackÚr_)ÚlinalgÚpadeNc                óH  € \        V 4      p Vf,   \        V 4      ^,
          V,
          pV^ 8  d   \        R4      hV^ 8  d   \        R4      hW,           pV\        V 4      ^,
          8”  d   \        R4      hV RV^,            p \        V^,           V^,           V P                  R7      p\        V^,           V3V P                  R7      p\        ^V^,           4       F  pV RV RRR1,          ) WVRV13&   K  	  \        V^,           V^,           4       F  pWV,
          V RRR1,          ) WVR3&   K  	  \        WE34      p\        P                  ! Wp4      pVRV^,            p	\        RW‚^,           R 3,          p
\        V	RRR1,          4      \        V
RRR1,          4      3# )	a5  
Return Pade approximation to a polynomial as the ratio of two polynomials.

Parameters
----------
an : (N,) array_like
    Taylor series coefficients.
m : int
    The order of the returned approximating polynomial `q`.
n : int, optional
    The order of the returned approximating polynomial `p`. By default,
    the order is ``len(an)-1-m``.

Returns
-------
p, q : Polynomial class
    The Pade approximation of the polynomial defined by `an` is
    ``p(x)/q(x)``.

Examples
--------
>>> import numpy as np
>>> from scipy.interpolate import pade
>>> e_exp = [1.0, 1.0, 1.0/2.0, 1.0/6.0, 1.0/24.0, 1.0/120.0]
>>> p, q = pade(e_exp, 2)

>>> e_exp.reverse()
>>> e_poly = np.poly1d(e_exp)

Compare ``e_poly(x)`` and the Pade approximation ``p(x)/q(x)``

>>> e_poly(1)
2.7166666666666668

>>> p(1)/q(1)
2.7179487179487181

Nz.Order of q <m> must be smaller than len(an)-1.z&Order of p <n> must be greater than 0.z0Order of q+p <m+n> must be smaller than len(an).)Údtype:NNNg      ð?éÿÿÿÿ)r   ÚlenÚ
ValueErrorr   r   r   Úranger   r	   Úsolver   r   )ÚanÚmÚnÚNÚAkjÚBkjÚrowÚCÚpqÚpÚqs   &&&        Úh/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/scipy/interpolate/_pade.pyr
   r
      s{  € ôN 
�‹€BØ‚yÜ�‹G�a�K˜!�OˆØˆqŒ5ÜÐMÓNÐNØˆ1„uÜÐAÓBÐBØ	�€AØŒ3ˆr‹7�1�9„}ÜÐKÓLÐLØ	ˆDˆQˆq�Sˆ€BÜ
ˆa��c�1�Q•3˜bŸh™hÔ
'€CÜ
��1•�a� §¡Ô
)€CÜ�Q˜˜!�Ž}ˆØ˜T˜c˜(¡D b DÕ)Ð)ˆ���ˆH‹ñ ä�Q�q•S˜!˜A�#ŽˆØ˜a�% �}¡d¨ dÕ+Ð+ˆ�ˆE‹
ñ ä�ˆzÓ€AÜ	�Š�aÓ	€BØ
ˆ4ˆAˆa�Cˆ€AÜ
ˆ3��Q•3�4�ˆ=Õ€AÜ�!‘D�b�D•'‹?œF 1¡T r T¥7›OÐ+Ð+ó    )N)Únumpyr   r   r   r   r   r   Úscipyr	   Ú__all__r
   © r   r   Ú<module>r#      s   ðß 9× 9Ý àˆ(€ö<,r   