o
    ôj="  ã                   @   s„  d Z ddlmZmZ ddlmZ ddlmZ ddlm	Z	 eƒ Z
eƒ Ze	ƒ Zee
_ee_ee_e
e_e
e
_ee_ee
_ee_ddlmZ ejej_ejej_ejZejZejZejZejZejZejZejZejZejZejZej Z ej!Z!ej"Z"ej#Z#ej$Z$ej%Z%ej&Z&ej'Z'ej(Z(ej)Z)ej*Z*ej+Z+ej,Z,ej-Z-ej.Z.ej/Z/ej0Z0ej1Z1ej2Z2ej3Z3ej4Z4ej5Z5ej6Z6ej7Z7ej8Z8ej9Z9ej:Z:ej;Z;ej<Z<ej=Z=ej>Z>ej?Z?ej@Z@ejAZAejB ZCZBejZejDZEejFZFejGZGejHZHejIZIejJZJejKZKejLZLejMZMejNZNejOZOejPZPejQZQejRZRejSZSejTZTejUZUejVZVejWZWejXZXejYZYejZZZej[Z[ej\Z\ej]Z]ej^Z^ej_Z_ej`Z`ejaZaejbZbejcZcejdZdejeZeejfZfejgZgejhZhejiZiejjZjejkZkejlZlejmZmejnZnejoZoejpZpejqZqejrZrejsZsejtZtejuZuejvZvejwZwejxZxejyZyejzZzej{Z{ej|Z|ej}Z}ej~Z~ejZej€Z€ej�Z�ej‚Z‚ejƒZƒej„Z„ej…Z…ej†Z†ej‡Z‡ejˆZˆej‰Z‰ejŠZŠej‹Z‹ejŒZŒej�Z�ejŽZŽej�Z�ej�Z�ej‘Z‘ej’Z’ej“Z“ej”Z”ej•Z•ej–Z–ej—Z—ej˜Z˜ejZej™Z™ejšZšej›Z›ejœZœej�Z�ejžZžejŸZŸej Z ej¡Z¡ej¢Z¢ej£Z£ej¤Z¤ej¥Z¥ej¦Z¦ej§Z§ej¨Z¨ej©Z©ejªZªej«Z«ej¬Z¬ej­Z­ej®Z®ej¯Z¯ej°Z°ej±Z±ej²Z²ej³Z³ej´Z´ejµZµej¶Z¶ejšZšej�Z�ej·Z·ej¸Z¸ej¹Z¹ejºZºej»Z»ej¼Z¼ej½Z½ej¾Z¾ej¿Z¿ejÀZÀejÁZÁejÂZÂejÃZÃejÄZÄejÅZÅejÆZÆejÇZÇejÈZÈejÉZÉejÊZÊejËZËejÌZÌejÍZÍejÎZÎejÏZÏejÐZÐejÑZÑejÒZÒejÓZÓejÔZÔejÕZÕejÖZÖej×Z×ejØZØejŸZŸejžZžejÙZÙejÚZÚejÛZÛejÜZÜejÝZÝejÞZÞejßZßejàZàejáZáej±Z±ej²Z²ej¢Z¢ejâZâejãZãejäZäejåZåejæZæejçZçejèZèejéZéejêZêejëZëejìZìejíZíejîZîejïZïejðZðejñZñejòZòejóZóejôZôejõZõejöZöej÷Z÷ejøZøejùZùejZejúZúejûZûejüZüejýZýejþZþejÿZÿe�j �Z e�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j	�Z	e�j
�Z
e�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j�Ze�j �Z e�j!�Z!e�j"�Z"e�j#�Z#e�j$�Z$e�j%�Z%e�j&�Z&e�j'�Z'e�j(�Z(e�j)�Z)e�j*�Z*e�j+�Z+e�j,�Z,e�j-�Z-e�j.�Z.e�j/�Z/e�j0�Z0e�j1�Z1e�j2�Z2e�j3�Z3e�j4�Z4e�j5�Z5e�j6�Z6e�j7�Z7e�j8�Z8e�j9�Z9e�j:�Z:e�j;�Z;e�j<�Z<e�j=�Z=e�j>�Z>e�j?�Z?e�j@�Z@e�jA�ZAe�jB�ZBe�jC�ZCe�jD�ZDe�jE�ZEe�jF�ZFe�jG�ZGe�jH�ZHe�jI�ZIe�jJ�ZJe�jK�ZKe�jL�ZLe�jM�ZMe�jN�ZNe�jO�ZOe�jP�ZPe�jQ�ZQe�jR�ZRe�jS�ZSe�jT�ZTe�jU�ZUe�jV�ZVe�jW�ZWe�jX�ZXe�jY�ZYe�jZ�ZZe�j[�Z[e�j\�Z\e�j]�Z]e�j^�Z^e�j_�Z_e�j`�Z`e�ja�Zae�jb�Zbe�jc�Zce�jd�Zde�je�Zee�jf�Zfe�jg�Zge�jh�Zhe�ji�Zie�jj�Zje�jk�Zke�jl�Zle�jm�Zme�jn�Zne�jo�Zoe�jp�Zpe�jq�Zqe�jr�Zre�js�Zse�jt�Zte�ju�Zue�jv�Zve�jw�Zwe�jx�Zxe�jy�Zye�jz�Zze�j{�Z{e�j|�Z|e�j}�Z}e�j~�Z~e�j�Zdd„ �Z€g fd	d
„�Z��e‚dk�rÀ�e�ƒ  dS dS )z1.3.0é   )ÚmonitorÚtiming)Ú	FPContext)Ú	MPContext)ÚMPIntervalContext)Úctx_mpc                  C   sX   ddl } ddlm} ddlm} | j | j ||ƒ¡¡}| j |d ¡}| ||¡ dS )z0
    Run all mpmath tests and print output.
    é    N)Úgetsourcefiler   )Úruntestsz/../..)	Úos.pathÚinspectr	   Útestsr
   ÚpathÚdirnameÚabspathZtestit)Úosr	   r   ZtestdirZ	importdir© r   ú`/var/www/html/academy/tools/voices/clone/sv-venv/lib/python3.10/site-packages/mpmath/__init__.pyr
   ´  s   r
   c           	         sâ   dd l }ddlm} t|jƒD ]\}}d|v r'dd„ |j|d d … D ƒ}  nqdd l}tƒ  ¡ }|D ];‰ | rCt‡ fdd„| D ƒƒsCq3|j	 
tˆ ƒd ¡ |j	 ¡  |ƒ }|j|ˆ  i d	|jv d
� |ƒ }tt|| dƒƒ q3d S )Nr   )Údefault_timerz__init__.pyc                 S   s   g | ]	}|  d ¡s|‘qS )ú-)Ú
startswith)Ú.0Úsnr   r   r   Ú
<listcomp>Ä  s    zdoctests.<locals>.<listcomp>r   c                    s   g | ]}|ˆ v ‘qS r   r   )r   Úpat©Úobjr   r   r   Ê  s    ú z-v)Úverboseé   )ÚsysÚtimeitr   Ú	enumerateÚargvÚdoctestÚglobalsÚcopyÚsumÚstdoutÚwriteÚstrÚflushZrun_docstring_examplesÚprintÚround)	Úfilterr    ÚclockÚiÚargr$   ÚglobsÚt1Út2r   r   r   Údoctests¿  s(   þ

÷r5   Ú__main__N(ƒ  Ú__version__Z	usertoolsr   r   Zctx_fpr   r   r   Zctx_ivr   ÚfpÚmpZivZ_mpÚ_fpZ_ivÚ Z_ctx_mpZmpfZ_mpf_moduleZmpcZmake_mpfZmake_mpcZ	extraprecZextradpsZworkprecZworkdpsZautoprecZmaxcallsÚmemoizeÚmagZbernfracZqfromZmfromZkfromZtaufromZqbarfromZellipfunZjthetaZkleinjÚetaZqpZqhyperZqgammaZqfacZnint_distanceÚplotZcplotZsplotZodefunÚjacobianZfindrootÚmultiplicityÚisinfÚisnanZisnormalZisintÚisfiniteZalmosteqÚnanÚrandZabsminZabsmaxÚfractionÚlinspaceÚarangeÚconvertZ	mpmathifyZ_mpiÚmpiZnstrZnprintZchopZfnegZfaddZfsubZfmulZfdivZfprodZquadZquadglZquadtsZquadoscZ
quadsubdivZinvertlaplaceZinvlaptalbotZinvlapstehfestZinvlapdehoogZpslqZidentifyZfindpolyZ
richardsonZshanksZlevinZ	cohen_altZnsumZnprodÚ
differenceÚdiffÚdiffsZ
diffs_prodZ	diffs_expZdiffunZ	differintÚtaylorZpadeÚpolyvalÚ	polyrootsZfourierZ
fouriervalZsumemZsumapZchebyfitÚlimitÚmatrixÚeyeÚdiagÚzerosÚonesZhilbertZ
randmatrixZswap_rowÚextendÚnormZmnormÚlu_solveÚluÚqrZ
unitvectorÚinverseÚresidualZqr_solveÚcholeskyÚcholesky_solveÚdetÚcondZ
hessenbergZschurÚeigZeig_sortZeigsyZeigheÚeighZsvd_rZsvd_cÚsvdZgauss_quadratureZexpmZsqrtmZpowmZlogmZsinmZcosmÚjÚexpZexpjZexpjpiÚlnÚimÚreÚinfZninfÚsignÚepsÚpiZln2Zln10ÚphiÚeÚeulerÚcatalanZkhinchinZglaisherZaperyÚdegreeZ	twinprimeZmertensÚldexpÚfrexpÚfsumZfdotÚsqrtÚcbrtÚlogÚlog10ÚpowerÚcosÚsinÚtanÚcoshÚsinhÚtanhÚacosÚasinÚatanÚasinhÚacoshÚatanhÚsecÚcscÚcotÚsechÚcschÚcothÚasecÚacscÚacotÚasechÚacschÚacothZcospiZsinpiÚsincZsincpiZcos_sinZcospi_sinpiÚfabsÚconjÚfloorÚceilZnintÚfracÚrootZnthrootÚhypotÚfmodr1   ÚphaseÚpolarÚrectÚdegreesÚradiansÚatan2ZfibÚ	fibonacciZlambertwÚzetaZaltzetaÚgammaZrgammaÚ	factorialÚfacZfac2ÚbetaÚbetaincÚpsiÚ	polygammaÚdigammaÚharmonicÚ	bernoulliÚ	stieltjesZhurwitzÚ	dirichletZbernpolyZ	eulerpolyZeulernumÚpolylogZclsinZclcosÚgammaincZ	gammaprodÚbinomialÚrfÚffÚhyperZhyp0f1Zhyp1f1Zhyp1f2Zhyp2f1Zhyp2f2Zhyp2f0Zhyp2f3Zhyp3f2ZhyperuZ	hypercombÚmeijergÚappellf1Zappellf2Zappellf3Zappellf4Zhyper2dZbihyperÚerfÚerfcÚerfiÚerfinvZnpdfZncdfÚexpintÚe1ÚeiÚliÚciÚsiÚchiZshiÚfresnelsÚfresnelcÚairyaiÚairybiZ
airyaizeroZ
airybizeroZscorergiZscorerhiZellipkZellipeZellipfZellippiZelliprcZelliprjZelliprfZelliprdZelliprgZagmÚjacobiZchebytZchebyuÚlegendreZlegenpZlegenqÚhermiteZpcfdZpcfuZpcfvZpcfwÚ
gegenbauerÚlaguerreZ	spherharmÚbesseljZj0Új1ÚbesseliÚbesselyÚbesselkZbesseljzeroZbesselyzeroÚhankel1Úhankel2ZstruvehZstruvelZangerjZwebereZlommels1Zlommels2ZwhitmZwhitwZberZbeiÚkerZkeiZcoulombcZcoulombfZcoulombgZbarnesgZsuperfacZhyperfacÚloggammaZsiegelthetaZsiegelzZ	grampointZzetazeroZriemannrÚprimepiZprimepi2Z	primezetaÚbellZpolyexpÚexpm1Úlog1pZpowm1Z	unitrootsZ
cyclotomicZmangoldtZ
secondzetaZnzerosZ	backlundsÚlerchphiZ	stirling1Z	stirling2ZsquarewZ	trianglewZ	sawtoothwZunit_triangleÚsigmoidr
   r5   Ú__name__r   r   r   r   Ú<module>   s   



































































































































ÿ