+
    7åûj¥  ã                   óV   € R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ]! R4      R 4       t	R# )zZ
This module implements the Residue function and related tools for working
with residues.
)ÚMul)ÚS)Úsympify)ÚtimethisÚresiduec                ó¾  € ^ RI Hp ^ RIHp \	        V 4      p V^ 8w  d   V P                  WV,           4      p R FC  pV P                  WR7      pVP                  V4      '       d   VP                  4       ^ 8¼  g   KC   M	  V! XP                  4       V4      pVP                  '       d   VP                  pMV.p\        P                  pV FŽ  p	V	P                  V4      w  r«\        V!  pV\        P                   V39   gA   VP"                  '       d   VP$                  P&                  '       g   \)        RV,          4      hV^V,          8X  g   K†  WŠ,          pK�  	  V# )aÇ  
Finds the residue of ``expr`` at the point x=x0.

The residue is defined as the coefficient of ``1/(x-x0)`` in the power series
expansion about ``x=x0``.

Examples
========

>>> from sympy import Symbol, residue, sin
>>> x = Symbol("x")
>>> residue(1/x, x, 0)
1
>>> residue(1/x**2, x, 0)
0
>>> residue(2/sin(x), x, 0)
2

This function is essential for the Residue Theorem [1].

References
==========

.. [1] https://en.wikipedia.org/wiki/Residue_theorem
)ÚOrder)Úcollect)Únzterm of unexpected form: %s)é    é   é   é   é   é   é    )Úsympy.series.orderr   Úsympy.simplify.radsimpr	   r   ÚsubsÚnseriesÚhasÚgetnÚremoveOÚis_AddÚargsr   ÚZeroÚas_coeff_mulr   ÚOneÚis_PowÚexpÚ
is_IntegerÚNotImplementedError)ÚexprÚxÚx0r   r	   r
   Úsr   ÚresÚargÚcÚms   &&&         ÚQC:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\sympy\series\residues.pyr   r      s  € õN )Ý.Ü�4‹=€DØ	ˆQ„wØ�y‰y˜ �FÓ#ˆÛ$ˆØ�L‰L˜ˆLÓ ˆØ�u‰u�U�|Š|˜qŸv™v›x¨1ž}Ùñ %ñ 	�—	‘	“˜QÓ€AØ‡x‡x€xØ�v‰v‰àˆsˆÜ
�&‰&€CÛˆØ×Ñ Ó"‰ˆÜ�‰GˆØ”a—e‘e˜Q�Z” A§H§H H°·±×1A×1AÐ1AÜ%Ð&CÀaÕ&GÓHÐHØ��!•Ž8Ø�HŠCñ ð €Jó    N)
Ú__doc__Úsympy.core.mulr   Úsympy.core.singletonr   Úsympy.core.sympifyr   Úsympy.utilities.timeutilsr   r   © r+   r*   Ú<module>r2      s1   ðñõ
 Ý "Ý &Ý .ñ 
ˆ)Óñ<ó ò<r+   