
    
9j.                    >   S SK Jr  S SKJr  S SKJr  S SKJr  \R                  r\R                  " SSSSS	S
SSSSSS/\" SS9QSPSPSPSP7SSS9r
\R                  r\R                  r\R                  r\R                  " SSSSSSS S!S"S#S$S%S&/\" 5       QS'PS(PS)PS*P7S+S,S9r\R                  " S-SSSSSS S!S"S#S$S%S&/\" 5       QS'PS(PS.PS/P7S0S1S9rSSS2 jrS3 rS4 r\R&                  r\R(                  r\R*                  r\R,                  r\R.                  r\R0                  r\R2                  r\R                  " S5S6S7S8S9r\R                  " S9S:S;S<S=S>S?S@SASBSCSD/\" SESFS9QSGPSHP7SISJS9r\R                  " SKSL/\" SMSE5      QSNPSOP7SPSQS9r\R:                  rgR)T    )annotations)_core)fusion)	bf16_loopcupy_reciprocalbBhHiIlLqQ)eout0 = 1 / in0r   )code)fr   )dr   )Fout0 = in0_type(1) / in0)Dr   zout0 = in0 == 0 ? 0 : (1 / in0)zPComputes ``1 / x`` elementwise.

    .. seealso:: :data:`numpy.reciprocal`

    )doc	cupy_realz?->?zb->bzB->Bzh->hzH->Hzi->izI->Izl->lzL->Lzq->qzQ->Qze->ezf->fzd->d)F->fout0 = in0.real())D->dr   z
out0 = in0z^Returns the real part of the elements of the array.

    .. seealso:: :func:`numpy.real`

    	cupy_imag)r   out0 = in0.imag())r   r    zout0 = 0zcReturns the imaginary part of the elements of the array.

    .. seealso:: :func:`numpy.imag`

    c                h    U(       a  [         R                  " U 5      $ [         R                  " U 5      $ )zNReturns the angle of the complex argument.

.. seealso:: :func:`numpy.angle`

)r   	angle_degangle)zdegs     O/home/wildlama/miniconda3/lib/python3.13/site-packages/cupy/_math/arithmetic.pyr#   r#   E   s$     q!!;;q>    c                    [         R                  " 5       (       a  [         R                  " [        U 5      $ [	        U [
        R                  5      (       d  [
        R                  " U 5      n U R                  $ )zVReturns the real part of the elements of the array.

.. seealso:: :func:`numpy.real`

)	r   
_is_fusing_call_ufunc_real_ufunc
isinstancer   ndarrayarrayrealvals    r&   r/   r/   P   N     !!+s33c5==))kk#88Or'   c                    [         R                  " 5       (       a  [         R                  " [        U 5      $ [	        U [
        R                  5      (       d  [
        R                  " U 5      n U R                  $ )z[Returns the imaginary part of the elements of the array.

.. seealso:: :func:`numpy.imag`

)	r   r)   r*   _imag_ufuncr,   r   r-   r.   imagr0   s    r&   r5   r5   ]   r2   r'   cupy_float_power)dd->dzFF->D)zDD->Dz6out0 = in1 == in1_type(0) ? in1_type(1): pow(in0, in1)zout0 = pow(in0, in1)zxFirst array elements raised to powers from second array, element-wise.

    .. seealso:: :data:`numpy.float_power`

    	cupy_fmodzbb->bzBB->Bzhh->hzHH->Hzii->izII->Izll->lzLL->Lzqq->qzQQ->Q)zee->eout0 = fmodf(in0, in1)   r9   )zff->fr9   )r7   zout0 = fmod(in0, in1)z4out0 = in1 == 0 ? 0 : fmod((double)in0, (double)in1)z\Computes the remainder of C division elementwise.

    .. seealso:: :data:`numpy.fmod`

    	cupy_modfze->ee   zf->ff)zd->ddz1double iptr; out0 = modf(in0, &iptr); out1 = iptrz1float iptr; out0 = modff(in0, &iptr); out1 = iptrzExtracts the fractional and integral parts of an array elementwise.

    This ufunc returns two arrays.

    .. seealso:: :data:`numpy.modf`

    N)F)
__future__r   cupyr   
cupy._corer   
cupy._utilr   addcreate_ufunc
reciprocalpositivenegative	conjugater+   r4   r#   r/   r5   multiplydividedivmodpowersubtracttrue_dividefloor_dividefloat_powerfmodmodf	remainder r'   r&   <module>rS      s   "     ii #sCc3S#(%&( ( 	(
 '( '( &		
" >> >> OO	
   VVVVVVVVVV$'k$+1$39$"$ #$ 		    VVVVVVVVVV$'k$+1$39$"$ #$ 		

 >> 
 
 	 >>  !!  J	
 gw'7Gg() 01) )	)
 () ;		   EyA E ECE7		 OO	r'   