+
    i                        ^ RI t ^ RIt^ RIHtHt ^ RIHtHtHtH	t	H
t
HtHtHtHtHt ^ RIHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtH t H!t!H"t"H#t#H$t$H%t% ^ RI&H't' ^ RI(H)t) ^ RI*H+t+ ^ RI,H-t- ^ R	I.H/t/H0t0H1t1 ^ R
I2H3t3 ^ RI4H5t5H6t6 ]+! R4      t7]+! R4      t8R t9]3R 4       t:]6]3R 4       4       t;]3R 4       t<]3R 4       t=]6]3R 4       4       t>R t?R t@R tAR tBR tC]3R 4       tDR# )    N)Symbolsymbols)

AssignmentPrintDeclarationFunctionDefinitionReturnrealFunctionCallVariableElementinteger)allocatableArrayConstructorisigndsigncmplxkind
literal_dpProgramModuleuse
Subroutine	dimensionassumed_extentImpliedDoLoop
intent_outsizeDoSubroutineCallsum_arraybind_C)render_as_module)	unchanged)import_module)fcode)has_fortrancompile_run_stringscompile_link_import_strings)	may_xfail)skipXFAILcythonnumpyc                  ^    \        R RR7      p \        V 4      p\        VRR7      R8X  g   Q hR# )xTr
   freesource_formatzsize(x)N)r   r   r'   )r1   sxs     ]/var/www/html/photoedit/myenv/lib/python3.14/site-packages/sympy/codegen/tests/test_fnodes.py	test_sizer8      s,    sA	aB6*i777    c                     \        4       '       g   \        R 4       \        RRR7      p \        \	        V ^,          4      \        V 4      ,          R,          4      .p\        V R.RR7      p\        \        RV.V4      p\        V.R	4       \        R
\        V.R	4      3R.RR7      w  w  rEpRV9   g   Q hVR8X  g   Q hVR,          \        P                  8X  g   Q hR# )No fortran compiler found.aTr2         ?:indimintentrmsmod_rmsrms.f90cleanz0.00000 exit_statusN)main.f90zprogram myprog
use mod_rms, only: rms
real*8, dimension(4), parameter :: x = [4, 2, 2, 2]
print "(f7.5)", dsqrt(7d0) - rms(x)
end program
)r(   r,   r   r	   r!   r   r"   r   r
   r$   r)   osEX_OK)r<   bodyarrfdstdoutstderrinfos          r7   test_size_assumed_shaperS      s    ==)*sADAJtAw&+,-D
uT
*C	D%#	5BbT9%0	$bT956		2 	Vd R<<"((***r9   c                     \        4       '       g   \        R 4       \        RRR7      w  r\        V^,          VR^^4      p\	        RV^.4      p\        V R.\        .R7      p \        RV P                  4       \        W4      \        V .4      .4      p\        VRRR	7      p\        R
V3.RR7      w  w  rgpRP                  4        F  p	W9   d   K  Q h	  VR8X  g   Q hVR,          \        P                  8X  g   Q hR# )r;   za iTr   r>   )rA   attrsidlprogi  r3   standardr5   rJ   rF   z-28 -27 -1 1 27 28rH   rI   Ni)r(   r,   r   r   r   r"   r   r   as_Declarationr   r   r'   r)   splitrK   rL   )
r<   iidlacprogfsrcrP   rQ   rR   numstrs
             r7   test_ImpliedDoLooprc   8   s     ==)*5$'DA
1aQ
*C	3R.	)BacU;-0A9	1qc
 D
 F;D0:t2D1ETRVd&,,. /R<<"((***r9   c                     \        R RR7      p \        P                  ! V ^*4      p\        V4      p\	        W ^,           .4      p\        RW#.4      p\        4       '       g   \        R4       \        R\        V^ZR7      3.RR7      w  w  rVpRV9   g   Q hR	V9   g   Q hVR
8X  g   Q hVR,          \        P                  8X  g   Q hR# )r1   Tr2   foor;   rJ   rY   rF   4243rH   rI   N)r   r   deducedr   r   r   r(   r,   r)   r'   rK   rL   )r1   vxdeclprntr`   rP   rQ   rR   s           r7   test_Programrm   O   s    sA			!R	 Br?D!qS?D54,'D==)*0:uTTV?W2X1YaefVd6>>6>>R<<"((***r9   c            	         \        R RR7      p \        P                  ! V 4      p\        \        RV.\        V ^,          4      .4      p\        R. V.4      p\        RR.4      p\        R\        RR.R7      \        RV.4      .4      p\        4       '       g   \        R	4       \        R
\        V^ZR7      3R\        V^ZR7      3.RR7      w  w  rgpRV9   g   Q h\        R4      V9   g   Q hVR8X  g   Q hR# )r1   Tr2   sqrmod_sqg      E@foobaronlyz"Square of 42 = "r;   z
mod_sq.f90rf   rJ   rF   rg   rH   Ni  )r   r   ri   r   r
   r	   r   r   r   r   r   r(   r,   r)   r'   str)	r1   v_xsqrp   sq_callprg_sqrP   rQ   rR   s	            r7   test_Modulery   `   s    sA


1
C	D%#1	?BHb2$'F53%(GXHE7#"G,-  F ==)*0	uVb12	U6B/02 Vd 6>>u:R<<r9   c                  4   \        R RR7      p \        RRR7      p\        P                  ! V \        \        4      \
        3R7      p\        P                  ! V4      p\        R\        4      p\        \        \        W.4      \        ^4      V^,          ,          4      .V^V4      p\        RV.\        V4      \        V4      \        V\        V 4      4      V.4      p\        RRR7      p\        P                  ! V\        ^4      .R7      p\        R	V.R
7      p	\        R\!        W.R7      \        V4      \#        Wh.4      \%        \'        V4      V.4      .4      p
\)        4       '       g   \+        R4       \-        R\/        V	^ZR7      3R\/        V
^ZR7      3.RR7      w  w  rp\1        ^^4       Uu. uF  pRV^,          ,          NK  	  pp\3        \5        V4      4      RR V9   g   Q hV F  p\3        V4      RR V9   d   K  Q h	  VR8X  g   Q hR# u upi )rTr2   r]   rU   rV   nfr1   mymod)definitionsre   rr   r;   za.f90rf   zb.f90rF   g      ?NrH   rZ   )r   r   ri   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r   r!   r(   r,   r)   r'   rangert   sum)r{   r]   v_rv_iv_ndo_loopsubr1   v_x3modr`   rP   rQ   rR   ref_s                   r7   test_Subroutiner   v   s   
 	sAsD!A


1Y~%>
$K
LC


1
C
3
 C71c?JqM!Q$$67!SG S3%CC3Q 	" C 	sAAil^4D
se
,C5CeDsF#tDz4 !	 D ==)*0	%b)*	%r*+2 Vd #1a[
)[3q!t88[C
)s3x="'''1vcr{f$$$ R<<	 *s   3Hc                      \        R RR7      p \        \        ^V 4      '       g   Q h\        \        ^V 4      ^_RR7      R8X  g   Q hR# )r1   TrU   r3   rX   zisign(1, x)N)r   r%   r   r'   r1   s    r7   
test_isignr      s@    sD!AUAq!!!!q!r@MQQQr9   c                      \        R 4      p \        \        ^V 4      '       g   Q h\        \        \	        ^4      V 4      ^_RR7      R8X  g   Q hR# )r1   r3   rX   zdsign(1d0, x)N)r   r%   r   r'   r   r   s    r7   
test_dsignr      sC    sAUAq!!!!z!}a(2VLP____r9   c                  N    \        R 4      p \        \        ^V 4      '       g   Q hR# r1   N)r   r%   r   r   s    r7   
test_cmplxr      s     sAUAq!!!!r9   c                  L    \        R 4      p \        \        V 4      '       g   Q hR# r   )r   r%   r   r   s    r7   	test_kindr      s    sAT1r9   c                  @    \        \        ^ 4      RR7      R8X  g   Q hR# )r   r3   r4   0d0N)r'   r    r9   r7   test_literal_dpr      s    Af5>>>r9   c            
         \        4       '       g   \        R 4       \        '       g   \        R4       \        '       g   \        R4       \	        RRR7      p \	        RRR7      p\        \        V ^,          4      V,          R,          4      .p\        W.R	R
7      p\        \        RW1.V\        R4      .R7      p\        V.R4      p\        P                  ! 4       ;_uu_ 4       p\        RV3RRP                  R4      R,           3.VR7      w  rx\!        VP#                  \        P                  . RO4      4      R,
          4      R8  g   Q h RRR4       R#   + '       g   i     R# ; i)r;   zCython not found.zNumPy not found.r<   Tr2   srU   r=   r?   r@   rC   r|   rD   rE   z_rms.pyxz#cython: language_level={}
3zscdef extern double rms(double*, int*)
def py_rms(double[::1] x):
    cdef int s = x.size
    return rms(&x[0], &s)
)	build_dirg+=N)       @g      @r   r   gҩ*@)r(   r,   r.   npr   r	   r!   r"   r   r
   r#   r$   tempfileTemporaryDirectoryr*   formatabspy_rms)	r<   r   rM   rN   rO   f_modfolderr   rR   s	            r7   test_bind_Cr      s%   ==)*6 !2 sAsD!ADAJqL2%&'D
s4
(C	D%#4u	OBbT9-E		$	$	&	&&/.55c:..01
 	 3::bhh'789FBCeKKK 
'	&	&	&s   %A)EE*	)ErK   r   sympy.core.symbolr   r   sympy.codegen.astr   r   r   r   r	   r
   r   r   r   r   sympy.codegen.fnodesr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   sympy.codegen.futilsr$   sympy.core.exprr%   sympy.externalr&   sympy.printing.codeprinterr'   sympy.utilities._compilationr(   r)   r*   !sympy.utilities._compilation.utilr+   sympy.testing.pytestr,   r-   r.   r   r8   rS   rc   rm   ry   r   r   r   r   r   r   r   r   r9   r7   <module>r      s   	  /       
 2 % ( , f f 7 ,	x	 78 + +0 
+  +* + +   * 
&  &RR`"

? L Lr9   