+
    i                         ^ RI t ^ RIHt ^ RIHt ^ RIHtHt ^ RIH	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 ^ RIHtHt ^ R	IHt ]! R
4      t]! R4      tR tR t]	]! R4      R 4       4       t R# )    N)import_module)ccode)compile_link_import_stringshas_c)	may_xfail)skipskip_under_pyodide)	FunctionDefinitionFunctionPrototypeVariablePointerreal
Assignmentinteger	CodeBlockWhile)voidPreIncrement)render_as_source_filecythonnumpyc                  B   \        R \        4      \        R\        4      \        R\        4      3;p w  rp\        R\        4      p\	        WA8  \        W4,          W$,          4      \        V4      .4      p\        VP                  ^ R7      V4      p\        \        RW4      # )ninpouti)valueour_test_function)r   r   r   r   r   r   r   r   as_Declarationr
   r   )declarsr   r   r   r   whlbodys          c/var/www/html/photoedit/myenv/lib/python3.14/site-packages/sympy/codegen/tests/test_applications.py	_mk_func1r$      s    $S'2GE44H'RWY]J^^^GkacgA
j0,q/B
CCQ%%A%.4Dd$7GG    c           
          \        V R R/R7      p\        \        P                  ! V 4      4      p\	        RV3RRP                  R4      R,           P                  W0P                  RR	7      3.VR
7      # )contractF)settingszour_test_func.cz_our_test_func.pyxz#cython: language_level={}
3zfcdef extern {declar}
def _{fname}({typ}[:] inp, {typ}[:] out):
    {fname}(inp.size, &inp[0], &out[0])double)declarfnametyp	build_dir)r   r   r   from_FunctionDefinitionr   formatname)funcdefr/   code_strr+   s   &&  r#   _render_compile_importr5      s    $W
E7JKH$<<WEFF&	H%	 > E Ec J!J!J LR6+18 LR L"	#(  r%   z,Emscripten does not support process spawningc                     \         '       g   \        R 4       \        4       '       g   \        R4       \        '       g   \        R4       Rp \        P
                  ! 4       ;_uu_ 4       p\        \        4       VR7      w  r \         P                  R4      p\         P                  V4      pVP                  W44       \         P                  W44      '       g   Q h RRR4       R#   + '       g   i     R# ; i)znumpy not installed.zNo C compiler found.zCython not found.Nr.   g      $@)npr   r   r   tempfileTemporaryDirectoryr5   r$   arange
empty_like_our_test_functionallclose)infofoldermodr   r   s        r#   test_copying_functionrA   *   s     2#$77#$6 !D		$	$	&	&&*9;&I	iiommC s({{3$$$$ 
'	&	&	&s   )A0C$$C5	)!r8   sympy.externalr   sympy.printing.codeprinterr   sympy.utilities._compilationr   r   !sympy.utilities._compilation.utilr   sympy.testing.pytestr   r	   sympy.codegen.astr
   r   r   r   r   r   r   r   r   sympy.codegen.cnodesr   r   sympy.codegen.cutilsr   r   r7   r$   r5   rA    r%   r#   <module>rK      sr     ( , K 7 9   4 6	x	 7H BC% D %r%   