§
    OŠtj-  ã                  óž   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
mZ ddlmZmZ  G d	„ d
e¦  «        Z ee¦  «        d„ ¦   «         ZdS )z½
A Printer for generating executable code.

The most important function here is srepr that returns a string so that the
relation eval(srepr(expr))=expr holds in an appropriate environment.
é    )Úannotations)ÚAny)ÚAppliedUndef)ÚMul)Úrepr_dpsÚto_stré   )ÚPrinterÚprint_functionc                  ój  — e Zd ZU dZdddœZded<   d„ Zd„ Zd<d	„Zd
„ Z	d„ Z
d„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd „ Zd!„ Z d"„ Z!d#„ Z"d<d$„Z#d%„ Z$d&„ Z%d'„ Z&d(„ Z'd)„ Z(d*„ Z)d+„ Z*d,„ Z+d-„ Z,d.„ Z-d/„ Z.d0„ Z/d1„ Z0d2„ Z1d3„ Z2d4„ Z3d5„ Z4d6„ Z5d7„ Z6d8„ Z7d9„ Z8d:„ Z9d;„ Z:dS )=ÚReprPrinterÚ
_sympyreprNT)ÚorderÚperm_cycliczdict[str, Any]Ú_default_settingsc                óF   ‡ — |                      ˆ fd„|D ¦   «         ¦  «        S )zG
        Prints each item in `args` and joins them with `sep`.
        c                ó:   •— g | ]}‰                      |¦  «        ‘ŒS © ©Údoprint)Ú.0ÚitemÚselfs     €úQ/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/sympy/printing/repr.pyú
<listcomp>z'ReprPrinter.reprify.<locals>.<listcomp>   s%   ø€ Ð=Ð=Ð=°˜Ÿš dÑ+Ô+Ð=Ð=Ð=ó    )Újoin)r   ÚargsÚseps   `  r   ÚreprifyzReprPrinter.reprify   s,   ø€ ð �xŠxÐ=Ð=Ð=Ð=¸Ð=Ñ=Ô=Ñ>Ô>Ð>r   c                óø  — t          |t          ¦  «        r|S t          |d¦  «        r|                     ¦   «         S t          |d¦  «        rnt          |j        d¦  «        rYg }|j        D ]*}|                     |                      |¦  «        ¦  «         Œ+|j        j        dd 	                    |¦  «        z  z   S t          |d¦  «        r#t          |d¦  «        rd|j
        ›d	|j        ›d
�S t          |¦  «        S )z'
        The fallback printer.
        Ú	__srepr__r   Ú__iter__ú(%s)ú, Ú
__module__Ú__name__z<'ú.z'>)Ú
isinstanceÚstrÚhasattrr"   r   ÚappendÚ_printÚ	__class__r'   r   r&   )r   ÚexprÚlÚos       r   ÚemptyPrinterzReprPrinter.emptyPrinter    s  € õ �d�CÑ Ô ð 	ØˆKÝ�T˜;Ñ'Ô'ð 
	Ø—>’>Ñ#Ô#Ð#Ý�T˜6Ñ"Ô"ð 	¥w¨t¬y¸*Ñ'EÔ'Eð 	ØˆAØ”Yð )ð )�Ø—’˜Ÿš Q™œÑ(Ô(Ð(Ð(Ø”>Ô*¨V°d·i²iÀ±l´lÑ-BÑBÐBÝ�T˜<Ñ(Ô(ð 	­W°T¸:Ñ-FÔ-Fð 	ð 	Ø"&¤/ / /°4´=°=°=ÐAÐAå�t‘9”9Ðr   c                ó¸   — |                       ||¬¦  «        }t          | j        |¦  «        }t          |¦  «        j        }|dd                     |¦  «        z  z   S )N)r   r$   r%   )Ú_as_ordered_termsÚmapr-   Útyper'   r   ©r   r/   r   r   Úclsnames        r   Ú
_print_AddzReprPrinter._print_Add2   sS   € Ø×%Ò% d°%Ð%Ñ8Ô8ˆÝ�4”; Ñ%Ô%ˆÝ�t‘*”*Ô%ˆØ˜ $§)¢)¨D¡/¤/Ñ1Ñ1Ð1r   c                ó*   — |                      ¦   «         S ©N)Ú__repr__©r   r/   s     r   Ú_print_CyclezReprPrinter._print_Cycle8   s   € Ø�}Š}‰ŒÐr   c                ó
  — ddl m}m} ddlm} |j        }|� |d|› d�ddd¬	¦  «         n| j                             d
d¦  «        }|r�|j        sdS   ||¦  «        |j        dz
  ¦  «         	                    ¦   «         t          d¦  «        d …         }|                     d¦  «        }|dk    s!d||d …         vr||d …         |d |…         z   }d|z  S |                     ¦   «         }|s,|j        dk     rdt          |j        ¦  «        z  S d|j        z  S t          |j        d |d         dz   …         ¦  «        d|j        z  z   }t          |j        ¦  «        x}	}
t          |¦  «        t          |
¦  «        k     r|}	d|	z  S )Nr   )ÚPermutationÚCycle)Úsympy_deprecation_warningzw
                Setting Permutation.print_cyclic is deprecated. Instead use
                init_printing(perm_cyclic=z).
                z1.6z#deprecated-permutation-print_cyclicé   )Údeprecated_since_versionÚactive_deprecations_targetÚ
stacklevelr   TzPermutation()r	   rA   ú(ú,zPermutation%sé   zPermutation(%s)zPermutation([], size=%s)éÿÿÿÿz	, size=%s)Ú sympy.combinatorics.permutationsr@   rA   Úsympy.utilities.exceptionsrB   Úprint_cyclicÚ	_settingsÚgetÚsizer<   ÚlenÚrfindÚsupportr*   Ú
array_form)r   r/   r@   rA   rB   r   ÚsÚlastÚtrimÚuseÚfulls              r   Ú_print_PermutationzReprPrinter._print_Permutation;   sÝ  € ØGÐGÐGÐGÐGÐGÐGÐGØHÐHÐHÐHÐHÐHà!Ô.ˆØÐ"Ø%Ð%ðà+6ðð ð ð */Ø+PØðñ ô ð ð ð œ.×,Ò,¨]¸DÑAÔAˆKàð 	+Ø”9ð 'Ø&�ð ���d‘”˜DœI¨™MÑ*Ô*×3Ò3Ñ5Ô5µc¸'±l´l°m°mÔDˆAØ—7’7˜3‘<”<ˆDØ˜1’9�9 ¨A¨d¨e¨e¬HÐ!4Ð!4Ø�d�e�e”H˜q  $ œxÑ'�Ø" AÑ%Ð%à—’‘”ˆAØð >Ø”9˜q’=�=Ø,­s°4´?Ñ/CÔ/CÑCÐCØ1°D´IÑ=Ð=Ý�t” z¨¨"¬°©	 zÔ2Ñ3Ô3°kÀDÄIÑ6MÑMˆDÝ˜Tœ_Ñ-Ô-Ð-ˆC�$Ý�4‰yŒy�3˜t™9œ9Ò$Ð$Ø�Ø$ sÑ*Ð*r   c                ó”   ‡ — ‰                       |j        ¦  «        }|dd                     ˆ fd„|j        D ¦   «         ¦  «        z  z  }|S )Nr$   r%   c                ó:   •— g | ]}‰                      |¦  «        ‘ŒS r   ©r-   ©r   Úar   s     €r   r   z/ReprPrinter._print_Function.<locals>.<listcomp>e   s#   ø€ Ð CÐ CÐ C°A §¢¨Q¡¤Ð CÐ CÐ Cr   )r-   Úfuncr   r   ©r   r/   Úrs   `  r   Ú_print_FunctionzReprPrinter._print_Functionc   sM   ø€ Ø�KŠK˜œ	Ñ"Ô"ˆØ	ˆV�d—i’iÐ CÐ CÐ CÐ C¸¼Ð CÑ CÔ CÑDÔDÑDÑDˆØˆr   c                ó”   ‡ — ‰                       |j        ¦  «        }|dd                     ˆ fd„|j        D ¦   «         ¦  «        z  z  }|S )Nr$   r%   c                ó:   •— g | ]}‰                      |¦  «        ‘ŒS r   r]   r^   s     €r   r   z0ReprPrinter._print_Heaviside.<locals>.<listcomp>l   s#   ø€ Ð DÐ DÐ D°A §¢¨Q¡¤Ð DÐ DÐ Dr   )r-   r`   r   Úpargsra   s   `  r   Ú_print_HeavisidezReprPrinter._print_Heavisideh   sO   ø€ ð �KŠK˜œ	Ñ"Ô"ˆØ	ˆV�d—i’iÐ DÐ DÐ DÐ D¸¼Ð DÑ DÔ DÑEÔEÑEÑEˆØˆr   c                óN   — t          |t          ¦  «        r
d|j        z  S |j        S )NzFunction(%r))Ú
issubclassr   r'   r=   s     r   Ú_print_FunctionClassz ReprPrinter._print_FunctionClasso   s)   € Ý�d�LÑ)Ô)ð 	!Ø! T¤]Ñ3Ð3à”=Ð r   c                ó   — dS )NzRational(1, 2)r   r=   s     r   Ú_print_HalfzReprPrinter._print_Halfu   s   € ØÐr   c                ó    — t          |¦  «        S r;   ©r*   r=   s     r   Ú_print_RationalConstantz#ReprPrinter._print_RationalConstantx   ó   € Ý�4‰yŒyÐr   c                ó    — t          |¦  «        S r;   rn   r=   s     r   Ú_print_AtomicExprzReprPrinter._print_AtomicExpr{   rp   r   c                ó    — t          |¦  «        S r;   rn   r=   s     r   Ú_print_NumberSymbolzReprPrinter._print_NumberSymbol~   rp   r   c                ó   — d|j         z  S )NzInteger(%i))Úpr=   s     r   Ú_print_IntegerzReprPrinter._print_Integer�   s   € Ø˜tœvÑ%Ð%r   c                ó   — dS )NÚ	Complexesr   r=   s     r   Ú_print_ComplexeszReprPrinter._print_Complexes„   ó   € Øˆ{r   c                ó   — dS )NÚIntegersr   r=   s     r   Ú_print_IntegerszReprPrinter._print_Integers‡   ó   € Øˆzr   c                ó   — dS )NÚNaturalsr   r=   s     r   Ú_print_NaturalszReprPrinter._print_NaturalsŠ   r   r   c                ó   — dS )NÚ	Naturals0r   r=   s     r   Ú_print_Naturals0zReprPrinter._print_Naturals0�   r{   r   c                ó   — dS )NÚ	Rationalsr   r=   s     r   Ú_print_RationalszReprPrinter._print_Rationals�   r{   r   c                ó   — dS )NÚRealsr   r=   s     r   Ú_print_RealszReprPrinter._print_Reals“   ó   € Øˆwr   c                ó   — dS )NÚEmptySetr   r=   s     r   Ú_print_EmptySetzReprPrinter._print_EmptySet–   r   r   c                ó   — dS )NÚUniversalSetr   r=   s     r   Ú_print_UniversalSetzReprPrinter._print_UniversalSet™   s   € Øˆ~r   c                ó   — dS )NÚEmptySequencer   r=   s     r   Ú_print_EmptySequencez ReprPrinter._print_EmptySequenceœ   s   € Øˆr   c                ó4   — d|                       |d¦  «        z  S )Nz[%s]r%   ©r    r=   s     r   Ú_print_listzReprPrinter._print_listŸ   s   € Ø˜Ÿš T¨4Ñ0Ô0Ñ0Ð0r   c                óx   ‡ — d}ˆ fd„|                      ¦   «         D ¦   «         }d|                     |¦  «        z  S )Nr%   c                óp   •— g | ]2\  }}‰                      |¦  «        ›d ‰                      |¦  «        ›�‘Œ3S )z: r   )r   ÚkeyÚvaluer   s      €r   r   z+ReprPrinter._print_dict.<locals>.<listcomp>¤   sD   ø€ ÐgÐgÐgÉJÈCÐQV §¢¨SÑ 1Ô 1Ð 1Ð 1°4·<²<ÀÑ3FÔ3FÐ3FÐGÐgÐgÐgr   ú{%s})Úitemsr   )r   r/   r   Údict_kvss   `   r   Ú_print_dictzReprPrinter._print_dict¢   sE   ø€ ØˆØgÐgÐgÐgÐZ^×ZdÒZdÑZfÔZfÐgÑgÔgˆØ˜Ÿš Ñ*Ô*Ñ*Ð*r   c                ó<   — |sdS d|                       |d¦  «        z  S )Nzset()r�   r%   r—   r=   s     r   Ú
_print_setzReprPrinter._print_set§   s(   € Øð 	Ø�7Ø˜Ÿš T¨4Ñ0Ô0Ñ0Ð0r   c           	     ó   — |j         dk    |j        dk    z  r[|j        j        ›d|                      |j         ¦  «        ›d|                      |j        ¦  «        ›d|                      g ¦  «        ›d�S g }t          |j         ¦  «        D ]Q}|                     g ¦  «         t          |j        ¦  «        D ]%}|d                              |||f         ¦  «         Œ&ŒR|j        j        ›d|                      |¦  «        ›d�S )Nr   rG   r%   ú)rJ   )ÚrowsÚcolsr.   r'   r-   Úranger,   )r   r/   r0   ÚiÚjs        r   Ú_print_MatrixBasezReprPrinter._print_MatrixBase¬   s  € àŒI˜ŠN˜tœy¨Aš~Ñ.ð 	8Ø'+¤~Ô'>Ð'>Ð'>Ø'+§{¢{°4´9Ñ'=Ô'=Ð'=Ð'=Ø'+§{¢{°4´9Ñ'=Ô'=Ð'=Ð'=Ø'+§{¢{°2¡¤  ð8ð 8ð ˆÝ�t”yÑ!Ô!ð 	)ð 	)ˆAØ�HŠH�R‰LŒLˆLÝ˜4œ9Ñ%Ô%ð )ð )�Ø�"”—’˜T ! Q $œZÑ(Ô(Ð(Ð(ð)àœ>Ô2Ð2Ð2°D·K²KÀ±N´N°N°NÐCÐCr   c                ó   — dS )NÚtruer   r=   s     r   Ú_print_BooleanTruezReprPrinter._print_BooleanTrueº   s   € Øˆvr   c                ó   — dS )NÚfalser   r=   s     r   Ú_print_BooleanFalsezReprPrinter._print_BooleanFalse½   rŒ   r   c                ó   — dS )NÚnanr   r=   s     r   Ú
_print_NaNzReprPrinter._print_NaNÀ   s   € Øˆur   c                óî   — | j         dvr|                     ¦   «         }nt          j        |¦  «        }t	          | j        |¦  «        }t          |¦  «        j        }|dd                     |¦  «        z  z   S )N)ÚoldÚnoner$   r%   )	r   Úas_ordered_factorsr   Ú	make_argsr5   r-   r6   r'   r   r7   s        r   Ú
_print_MulzReprPrinter._print_MulÃ   sl   € ØŒ:˜_Ð,Ð,Ø×*Ò*Ñ,Ô,ˆDˆDõ ”= Ñ&Ô&ˆDå�4”; Ñ%Ô%ˆÝ�t‘*”*Ô%ˆØ˜ $§)¢)¨D¡/¤/Ñ1Ñ1Ð1r   c                ót   — d|                       |j        ¦  «        ›d|                       |j        ¦  «        ›d�S )Nz	Rational(r%   r¤   )r-   rv   Úqr=   s     r   Ú_print_RationalzReprPrinter._print_RationalÎ   s7   € € Ø%)§[¢[°´Ñ%8Ô%8Ð%8Ð%8¸$¿+º+ÀdÄfÑ:MÔ:MÐ:MÐ:MÐNÐNr   c                ó:   — d|j         j        |j        |j        fz  S )Nz
%s(%d, %d))r.   r'   rv   r»   r=   s     r   Ú_print_PythonRationalz!ReprPrinter._print_PythonRationalÑ   s   € Ø˜tœ~Ô6¸¼ÀÄÐGÑGÐGr   c                ót   — d|                       |j        ¦  «        ›d|                       |j        ¦  «        ›d�S )Nz	Fraction(r%   r¤   )r-   Ú	numeratorÚdenominatorr=   s     r   Ú_print_FractionzReprPrinter._print_FractionÔ   s8   € € Ø%)§[¢[°´Ñ%@Ô%@Ð%@Ð%@À$Ç+Â+ÈdÔN^ÑB_ÔB_ÐB_ÐB_Ð`Ð`r   c                ó~   — t          |j        t          |j        ¦  «        ¦  «        }d|j        j        ||j        fz  S )Nz%s('%s', precision=%i))Úmlib_to_strÚ_mpf_r   Ú_precr.   r'   ra   s      r   Ú_print_FloatzReprPrinter._print_Float×   s6   € Ý˜œ
¥H¨T¬ZÑ$8Ô$8Ñ9Ô9ˆØ'¨4¬>Ô+BÀAÀtÄzÐ*RÑRÐRr   c           
     óà   — d|                       |j        ¦  «        ›d|                       |j        ¦  «        ›d|                       |j        ¦  «        ›d|                       |j        ¦  «        ›d�	S )NzSum2(z, (r%   z)))r-   Úfr¨   r_   Úbr=   s     r   Ú_print_Sum2zReprPrinter._print_Sum2Û   sj   € € Ø+/¯;ª;°t´vÑ+>Ô+>Ð+>Ð+>ÀÇÂÈDÌFÑ@SÔ@SÐ@SÐ@SØ+/¯;ª;°t´vÑ+>Ô+>Ð+>Ð+>ÀÇÂÈDÌFÑ@SÔ@SÐ@SÐ@SðUð 	Ur   c                óV   — |j         j        ›d|                      |j        ¦  «        ›d�S ©NrG   r¤   )r.   r'   r-   Úname)r   rU   s     r   Ú
_print_StrzReprPrinter._print_Strß   s,   € Øœ;Ô/Ð/Ð/°·²¸Q¼VÑ1DÔ1DÐ1DÐ1DÐEÐEr   c                óv  — |j         }|j        r|                     ¦   «         }|j        |d<   |i k    r*|j        j        ›d|                      |j        ¦  «        ›d�S d„ |                     ¦   «         D ¦   «         }|j        j        ›d|                      |j        ¦  «        ›dd 	                    |¦  «        ›d�S )NÚdummy_indexrG   r¤   c                ó"   — g | ]\  }}|›d |›�‘ŒS ©ú=r   ©r   ÚkÚvs      r   r   z-ReprPrinter._print_Symbol.<locals>.<listcomp>ì   ó'   € Ð;Ð;Ð;©¨¨A˜q˜q˜q ! !Ð$Ð;Ð;Ð;r   r%   )
Ú_assumptions_origÚis_DummyÚcopyrÑ   r.   r'   r-   rÎ   rž   r   ©r   r/   ÚdÚattrs       r   Ú_print_SymbolzReprPrinter._print_Symbolâ   s½   € ØÔ"ˆàŒ=ð 	0Ø—’‘”ˆAØ#Ô/ˆAˆmÑà�Š7ˆ7Ø#œ~Ô6Ð6Ð6¸¿ºÀDÄIÑ8NÔ8NÐ8NÐ8NÐOÐOà;Ð;°·²±´Ð;Ñ;Ô;ˆDØ#'¤>Ô#:Ð#:Ð#:Ø#'§;¢;¨t¬yÑ#9Ô#9Ð#9Ð#9¸4¿9º9ÀT¹?¼?¸?¸?ðLð Lr   c           	     ó¢  — |j         j        }|i k    rE|j        j        ›d|                      |j        ¦  «        ›d|                      |j        ¦  «        ›d�S d„ |                     ¦   «         D ¦   «         }|j        j        ›d|                      |j        ¦  «        ›d|                      |j        ¦  «        ›dd                     |¦  «        ›d�S )NrG   r%   r¤   c                ó"   — g | ]\  }}|›d |›�‘ŒS rÓ   r   rÕ   s      r   r   z7ReprPrinter._print_CoordinateSymbol.<locals>.<listcomp>ú   rØ   r   )	Ú_assumptionsÚ	generatorr.   r'   r-   Ú	coord_sysÚindexrž   r   rÜ   s       r   Ú_print_CoordinateSymbolz#ReprPrinter._print_CoordinateSymbolð   sÐ   € ØÔÔ'ˆà�Š7ˆ7à”Ô'Ð'Ð'Ø—’˜DœNÑ+Ô+Ð+Ð+Ø—’˜DœJÑ'Ô'Ð'Ð'ðð ð <Ð;°·²±´Ð;Ñ;Ô;ˆDà”Ô'Ð'Ð'Ø—’˜DœNÑ+Ô+Ð+Ð+Ø—’˜DœJÑ'Ô'Ð'Ð'Ø—	’	˜$‘”��ð	ð r   c                ó   — d|j         z  S )NzQ.%s)rÎ   r=   s     r   Ú_print_PredicatezReprPrinter._print_Predicate  s   € Ø˜œ	Ñ!Ð!r   c                ó\   — |j         }|j        j        ›d|                      |d¦  «        ›d�S ©NrG   r%   r¤   )Ú_argsr.   r'   r    )r   r/   r   s      r   Ú_print_AppliedPredicatez#ReprPrinter._print_AppliedPredicate  s3   € àŒzˆØœ>Ô2Ð2Ð2°D·L²LÀÀtÑ4LÔ4LÐ4LÐ4LÐMÐMr   c                ó    — t          |¦  «        S r;   )Úreprr=   s     r   Ú
_print_strzReprPrinter._print_str
  s   € Ý�D‰zŒzÐr   c                ó–   — t          |¦  «        dk    rd|                      |d         ¦  «        z  S d|                      |d¦  «        z  S )Nr	   z(%s,)r   r$   r%   )rQ   r-   r    r=   s     r   Ú_print_tuplezReprPrinter._print_tuple  sE   € Ýˆt‰9Œ9˜Š>ˆ>Ø˜TŸ[š[¨¨a¬Ñ1Ô1Ñ1Ð1à˜DŸLšL¨¨tÑ4Ô4Ñ4Ð4r   c                ó0   — |j         j        ›d|j        ›d�S )Nz('z'))r.   r'   rÎ   r=   s     r   Ú_print_WildFunctionzReprPrinter._print_WildFunction  s   € Ø!œ^Ô4Ð4Ð4°d´i°i°iÐ@Ð@r   c                ó¦   — |j         j        ›d|                      |j        ¦  «        ›d|                      |                     ¦   «         ¦  «        ›d�S rê   )r.   r'   r-   ÚrootÚcoeffsr=   s     r   Ú_print_AlgebraicNumberz"ReprPrinter._print_AlgebraicNumber  sO   € Ø#œ~Ô6Ð6Ð6Ø�KŠK˜œ	Ñ"Ô"Ð"Ð" D§K¢K°·²±´Ñ$>Ô$>Ð$>Ð$>ð@ð 	@r   c           	     óÂ   — |j         j        ›d|                      |j        ¦  «        ›d|                      |j        ¦  «        ›d|                      |j        ¦  «        ›d�S rê   ©r.   r'   r-   ÚsymbolsÚdomainr   )r   Úrings     r   Ú_print_PolyRingzReprPrinter._print_PolyRing  s_   € Ø#'¤>Ô#:Ð#:Ð#:Ø�KŠK˜œÑ%Ô%Ð%Ð% t§{¢{°4´;Ñ'?Ô'?Ð'?Ð'?ÀÇÂÈTÌZÑAXÔAXÐAXÐAXðZð 	Zr   c           	     óÂ   — |j         j        ›d|                      |j        ¦  «        ›d|                      |j        ¦  «        ›d|                      |j        ¦  «        ›d�S rê   rù   )r   Úfields     r   Ú_print_FracFieldzReprPrinter._print_FracField  s_   € Ø#(¤?Ô#;Ð#;Ð#;Ø�KŠK˜œÑ&Ô&Ð&Ð&¨¯ª°E´LÑ(AÔ(AÐ(AÐ(AÀ4Ç;Â;ÈuÌ{ÑC[ÔC[ÐC[ÐC[ð]ð 	]r   c                ó  — t          |                     ¦   «         ¦  «        }|                     |j        j        d¬¦  «         |j        j        ›d|                      |j        ¦  «        ›d|                      |¦  «        ›d�S ©NT)r›   ÚreverserG   r%   r¤   )ÚlistÚtermsÚsortrü   r   r.   r'   r-   )r   Úpolyr  s      r   Ú_print_PolyElementzReprPrinter._print_PolyElement"  ss   € Ý�T—Z’Z‘\”\Ñ"Ô"ˆØ�
Š
�t”y”°ˆ
Ñ5Ô5Ð5Ø#œ~Ô6Ð6Ð6¸¿ºÀDÄIÑ8NÔ8NÐ8NÐ8NÐPT×P[ÒP[Ð\aÑPbÔPbÐPbÐPbÐcÐcr   c                óÒ  — t          |j                             ¦   «         ¦  «        }|                     |j        j        d¬¦  «         t          |j                             ¦   «         ¦  «        }|                     |j        j        d¬¦  «         |                      |¦  «        }|                      |¦  «        }|j        j	        ›d|                      |j        ¦  «        ›d|›d|›d�S r  )
r  Únumerr  r  rÿ   r   Údenomr-   r.   r'   )r   ÚfracÚnumer_termsÚdenom_termsr
  r  s         r   Ú_print_FracElementzReprPrinter._print_FracElement'  sÒ   € Ý˜4œ:×+Ò+Ñ-Ô-Ñ.Ô.ˆØ×Ò˜TœZÔ-°tÐÑ<Ô<Ð<Ý˜4œ:×+Ò+Ñ-Ô-Ñ.Ô.ˆØ×Ò˜TœZÔ-°tÐÑ<Ô<Ð<Ø—’˜KÑ(Ô(ˆØ—’˜KÑ(Ô(ˆØ#'¤>Ô#:Ð#:Ð#:¸D¿KºKÈÌ
Ñ<SÔ<SÐ<SÐ<SÐUZÐUZÐUZÐ\aÐ\aÐ\aÐbÐbr   c                ó^   — |j         j        }|                      |j        ¦  «        }|›d|›d�S rÍ   )r.   r'   r-   rÿ   )r   rû   Úclsrÿ   s       r   Ú_print_FractionFieldz ReprPrinter._print_FractionField0  s3   € ØÔÔ'ˆØ—’˜FœLÑ)Ô)ˆØ˜3˜3   Ð&Ð&r   c                ó  — |j         j        }|                      |j        ¦  «        }d                     t          | j        |j        ¦  «        ¦  «        }t          |j        ¦  «        }||j	        k    rd|z   }nd}|›d|›d|›|›d�S )Nr%   z, order=Ú rG   r¤   )
r.   r'   r-   rû   r   r5   Úgensr*   r   Údefault_order)r   rü   r  Údomr  r   Úorderstrs          r   Ú_print_PolynomialRingBasez%ReprPrinter._print_PolynomialRingBase5  s‡   € ØŒnÔ%ˆØ�kŠk˜$œ+Ñ&Ô&ˆØ�yŠy�˜Tœ[¨$¬)Ñ4Ô4Ñ5Ô5ˆÝ�D”J‘”ˆØ�DÔ&Ò&Ð&Ø! EÑ)ˆHˆHàˆHØ!$   c c c¨4¨4°°°Ð:Ð:r   c                ó²   — |j         j        }|                      |                     ¦   «         ¦  «        }|                      |j        ¦  «        }|›d|›d|›d�S rê   )r.   r'   r-   Úto_listr  )r   rv   r  Úrepr  s        r   Ú
_print_DMPzReprPrinter._print_DMP@  sQ   € ØŒkÔ"ˆØ�kŠk˜!Ÿ)š)™+œ+Ñ&Ô&ˆØ�kŠk˜!œ%Ñ Ô ˆØ"˜s˜s C C C¨¨¨Ð-Ð-r   c                ó0   — dt          |j        ¦  «        z  S )NzFiniteExtension(%s))r*   Úmodulus)r   Úexts     r   Ú_print_MonogenicFiniteExtensionz+ReprPrinter._print_MonogenicFiniteExtensionF  s   € ð %¥s¨3¬;Ñ'7Ô'7Ñ7Ð7r   c                ó|   — |                       |j        ¦  «        }|                       |j        ¦  «        }d|›d|›d�S )NzExtElem(r%   r¤   )r-   r  r   )r   rÉ   r  r   s       r   Ú_print_ExtensionElementz#ReprPrinter._print_ExtensionElementK  s=   € Ø�kŠk˜!œ%Ñ Ô ˆØ�kŠk˜!œ%Ñ Ô ˆˆØ$' C C¨¨¨Ð-Ð-r   r;   );r'   r&   Ú__qualname__Úprintmethodr   Ú__annotations__r    r2   r9   r>   rZ   rc   rg   rj   rl   ro   rr   rt   rw   rz   r~   r‚   r…   rˆ   r‹   r�   r’   r•   r˜   r    r¢   rª   r­   r°   r³   r¹   r¼   r¾   rÂ   rÇ   rË   rÏ   rß   ræ   rè   rì   rï   rñ   ró   r÷   rý   r   r  r  r  r  r  r!  r#  r   r   r   r   r      s—  € € € € € € Ø€Kð Øð)ð )Ðð ð ð ñ ð
?ð ?ð ?ðð ð ð$2ð 2ð 2ð 2ðð ð ð&+ð &+ð &+ðPð ð ð
ð ð ð!ð !ð !ð ð  ð  ðð ð ðð ð ðð ð ð&ð &ð &ðð ð ðð ð ðð ð ðð ð ðð ð ðð ð ðð ð ðð ð ðð ð ð1ð 1ð 1ð+ð +ð +ð
1ð 1ð 1ð
Dð Dð Dðð ð ðð ð ðð ð ð	2ð 	2ð 	2ð 	2ðOð Oð OðHð Hð Hðað að aðSð Sð SðUð Uð UðFð Fð FðLð Lð Lðð ð ð$"ð "ð "ðNð Nð Nð
ð ð ð5ð 5ð 5ðAð Að Að@ð @ð @ðZð Zð Zð]ð ]ð ]ðdð dð dð
cð cð cð'ð 'ð 'ð
	;ð 	;ð 	;ð.ð .ð .ð8ð 8ð 8ð
.ð .ð .ð .ð .r   r   c                óF   — t          |¦  «                             | ¦  «        S )zreturn expr in repr form)r   r   )r/   Úsettingss     r   Úsreprr)  P  s    € õ �xÑ Ô ×(Ò(¨Ñ.Ô.Ð.r   N)Ú__doc__Ú
__future__r   Útypingr   Úsympy.core.functionr   Úsympy.core.mulr   Úmpmath.libmpr   r   rÄ   Úprinterr
   r   r   r)  r   r   r   ú<module>r1     sì   ððð ð #Ð "Ð "Ð "Ð "Ð "Ø Ð Ð Ð Ð Ð à ,Ð ,Ð ,Ð ,Ð ,Ð ,Ø Ð Ð Ð Ð Ð Ø 8Ð 8Ð 8Ð 8Ð 8Ð 8Ð 8Ð 8à ,Ð ,Ð ,Ð ,Ð ,Ð ,Ð ,Ð ,ð|.ð |.ð |.ð |.ð |.�'ñ |.ô |.ð |.ð|	 €�ÑÔð/ð /ñ Ôð/ð /ð /r   