
    Nge                    *   d dl mZ ddlmZmZmZmZmZmZm	Z	m
Z
mZ ddlmZ d dlZdFd	ZdFd
ZdFdZdGdZdFdZdFdZdFdZdGdZdFdZdGdZdGdZdFdZdGdZdGdZdGdZdFdZdFdZ dFdZ!dFdZ"dGdZ#dGdZ$dFd Z%dFd!Z&dFd"Z'dGd#Z(dGd$Z)dGd%Z*dFd&Z+dFd'Z,dFd(Z-dFd)Z.dGd*Z/dGd+Z0dFd,Z1dFd-Z2dFd.Z3dFd/Z4dGd0Z5dGd1Z6dFd2Z7dGd3Z8dGd4Z9dGd5Z:dFd6Z;dGd7Z<dFd8Z=dGd9Z>dFd:Z?dGd;Z@dFd<ZAdFd=ZBdFd>ZCdFd?ZDdFd@ZEdFdAZFdGdBZGdFdCZHdFdDZIdFdEZJdS )H    )annotations   )	_boolean_dtypes_floating_dtypes_real_floating_dtypes_complex_floating_dtypes_integer_dtypes_integer_or_boolean_dtypes_real_numeric_dtypes_numeric_dtypes_result_type)ArrayNxr   returnc                   | j         t          vrt          d          t          j        t          j        | j                            S )zv
    Array API compatible wrapper for :py:func:`np.abs <numpy.abs>`.

    See its docstring for more information.
    z&Only numeric dtypes are allowed in abs)dtyper   	TypeErrorr   _newnpabs_arrayr   s    b/var/www/html/ai-engine/env/lib/python3.11/site-packages/numpy/array_api/_elementwise_functions.pyr   r      s<     	wo%%@AAA:bfQX&&'''    c                   | j         t          vrt          d          t          j        t          j        | j                            S )z|
    Array API compatible wrapper for :py:func:`np.arccos <numpy.arccos>`.

    See its docstring for more information.
    z.Only floating-point dtypes are allowed in acos)r   r   r   r   r   r   arccosr   r   s    r   acosr      =     	w&&&HIII:bi))***r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )z~
    Array API compatible wrapper for :py:func:`np.arccosh <numpy.arccosh>`.

    See its docstring for more information.
    z/Only floating-point dtypes are allowed in acosh)r   r   r   r   r   r   arccoshr   r   s    r   acoshr!   +   =     	w&&&IJJJ:bj**+++r   x1x2c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )zv
    Array API compatible wrapper for :py:func:`np.add <numpy.add>`.

    See its docstring for more information.
    z&Only numeric dtypes are allowed in add)
r   r   r   r   r   _normalize_two_argsr   r   addr   r#   r$   s     r   r'   r'   6   sv     
x&&"(/*I*I@AAA28$$$&r2..FB:bfRY	22333r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )z|
    Array API compatible wrapper for :py:func:`np.arcsin <numpy.arcsin>`.

    See its docstring for more information.
    z.Only floating-point dtypes are allowed in asin)r   r   r   r   r   r   arcsinr   r   s    r   asinr+   E   r   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )z~
    Array API compatible wrapper for :py:func:`np.arcsinh <numpy.arcsinh>`.

    See its docstring for more information.
    z/Only floating-point dtypes are allowed in asinh)r   r   r   r   r   r   arcsinhr   r   s    r   asinhr.   Q   r"   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )z|
    Array API compatible wrapper for :py:func:`np.arctan <numpy.arctan>`.

    See its docstring for more information.
    z.Only floating-point dtypes are allowed in atan)r   r   r   r   r   r   arctanr   r   s    r   atanr1   ]   r   r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z~
    Array API compatible wrapper for :py:func:`np.arctan2 <numpy.arctan2>`.

    See its docstring for more information.
    z4Only real floating-point dtypes are allowed in atan2)
r   r   r   r   r   r&   r   r   arctan2r   r(   s     r   atan2r4   i   sx     
x,,,@U0U0UNOOO28$$$&r2..FB:bjBI66777r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )z~
    Array API compatible wrapper for :py:func:`np.arctanh <numpy.arctanh>`.

    See its docstring for more information.
    z/Only floating-point dtypes are allowed in atanh)r   r   r   r   r   r   arctanhr   r   s    r   atanhr7   x   r"   r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.bitwise_and <numpy.bitwise_and>`.

    See its docstring for more information.
    z9Only integer or boolean dtypes are allowed in bitwise_and)
r   r
   r   r   r   r&   r   r   bitwise_andr   r(   s     r   r9   r9      y     	2228555STTT28$$$&r2..FB:bnRY	::;;;r   c               v   | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t          j        |j        dk               rt          d          t	          j
        t          j        | j        |j                            S )z
    Array API compatible wrapper for :py:func:`np.left_shift <numpy.left_shift>`.

    See its docstring for more information.
    z5Only integer dtypes are allowed in bitwise_left_shiftr   z6bitwise_left_shift(x1, x2) is only defined for x2 >= 0)r   r	   r   r   r   r&   r   anyr   
ValueErrorr   
left_shiftr(   s     r   bitwise_left_shiftr?      s     
x&&"(/*I*IOPPP28$$$&r2..FB	vbi!m SQRRR:bmBIry99:::r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )z|
    Array API compatible wrapper for :py:func:`np.invert <numpy.invert>`.

    See its docstring for more information.
    z<Only integer or boolean dtypes are allowed in bitwise_invert)r   r
   r   r   r   r   invertr   r   s    r   bitwise_invertrB      s=     	w000VWWW:bi))***r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.bitwise_or <numpy.bitwise_or>`.

    See its docstring for more information.
    z8Only integer or boolean dtypes are allowed in bitwise_or)
r   r
   r   r   r   r&   r   r   
bitwise_orr   r(   s     r   rD   rD      sy     	2228555RSSS28$$$&r2..FB:bmBIry99:::r   c               v   | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t          j        |j        dk               rt          d          t	          j
        t          j        | j        |j                            S )z
    Array API compatible wrapper for :py:func:`np.right_shift <numpy.right_shift>`.

    See its docstring for more information.
    z6Only integer dtypes are allowed in bitwise_right_shiftr   z7bitwise_right_shift(x1, x2) is only defined for x2 >= 0)r   r	   r   r   r   r&   r   r<   r   r=   r   right_shiftr(   s     r   bitwise_right_shiftrG      s     
x&&"(/*I*IPQQQ28$$$&r2..FB	vbi!m TRSSS:bnRY	::;;;r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.bitwise_xor <numpy.bitwise_xor>`.

    See its docstring for more information.
    z9Only integer or boolean dtypes are allowed in bitwise_xor)
r   r
   r   r   r   r&   r   r   bitwise_xorr   r(   s     r   rI   rI      r:   r   c                   | j         t          vrt          d          | j         t          v r| S t	          j        t          j        | j                            S )zx
    Array API compatible wrapper for :py:func:`np.ceil <numpy.ceil>`.

    See its docstring for more information.
    z,Only real numeric dtypes are allowed in ceil)	r   r   r   r	   r   r   r   ceilr   r   s    r   rK   rK      sO     	w***FGGGw/!!:bgah''(((r   c                   | j         t          vrt          d          t          j        t          j        |                     S )zx
    Array API compatible wrapper for :py:func:`np.conj <numpy.conj>`.

    See its docstring for more information.
    z6Only complex floating-point dtypes are allowed in conj)r   r   r   r   r   r   conjr   s    r   rM   rM      9     	w...PQQQ:bgajj!!!r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zv
    Array API compatible wrapper for :py:func:`np.cos <numpy.cos>`.

    See its docstring for more information.
    z-Only floating-point dtypes are allowed in cos)r   r   r   r   r   r   cosr   r   s    r   rP   rP      =     	w&&&GHHH:bfQX&&'''r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zx
    Array API compatible wrapper for :py:func:`np.cosh <numpy.cosh>`.

    See its docstring for more information.
    z.Only floating-point dtypes are allowed in cosh)r   r   r   r   r   r   coshr   r   s    r   rS   rS   
  =     	w&&&HIII:bgah''(((r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z|
    Array API compatible wrapper for :py:func:`np.divide <numpy.divide>`.

    See its docstring for more information.
    z0Only floating-point dtypes are allowed in divide)
r   r   r   r   r   r&   r   r   divider   r(   s     r   rV   rV     sx     
x'''28;K+K+KJKKK28$$$&r2..FB:bi	2955666r   c                   t          | j        |j                   t          j        | |          \  } }t          j        t          j        | j        |j                            S )zz
    Array API compatible wrapper for :py:func:`np.equal <numpy.equal>`.

    See its docstring for more information.
    )r   r   r   r&   r   r   equalr   r(   s     r   rX   rX   #  sN     28$$$&r2..FB:bhry")44555r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zv
    Array API compatible wrapper for :py:func:`np.exp <numpy.exp>`.

    See its docstring for more information.
    z-Only floating-point dtypes are allowed in exp)r   r   r   r   r   r   expr   r   s    r   rZ   rZ   /  rQ   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zz
    Array API compatible wrapper for :py:func:`np.expm1 <numpy.expm1>`.

    See its docstring for more information.
    z/Only floating-point dtypes are allowed in expm1)r   r   r   r   r   r   expm1r   r   s    r   r\   r\   :  =     	w&&&IJJJ:bhqx(()))r   c                   | j         t          vrt          d          | j         t          v r| S t	          j        t          j        | j                            S )zz
    Array API compatible wrapper for :py:func:`np.floor <numpy.floor>`.

    See its docstring for more information.
    z-Only real numeric dtypes are allowed in floor)	r   r   r   r	   r   r   r   floorr   r   s    r   r_   r_   E  O     	w***GHHHw/!!:bhqx(()))r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.floor_divide <numpy.floor_divide>`.

    See its docstring for more information.
    z4Only real numeric dtypes are allowed in floor_divide)
r   r   r   r   r   r&   r   r   floor_divider   r(   s     r   rb   rb   S  sx     
x+++rx?S/S/SNOOO28$$$&r2..FB:bobi;;<<<r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z~
    Array API compatible wrapper for :py:func:`np.greater <numpy.greater>`.

    See its docstring for more information.
    z/Only real numeric dtypes are allowed in greater)
r   r   r   r   r   r&   r   r   greaterr   r(   s     r   rd   rd   a  sx     
x+++rx?S/S/SIJJJ28$$$&r2..FB:bjBI66777r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.greater_equal <numpy.greater_equal>`.

    See its docstring for more information.
    z5Only real numeric dtypes are allowed in greater_equal)
r   r   r   r   r   r&   r   r   greater_equalr   r(   s     r   rf   rf   o  sy     
x+++rx?S/S/SOPPP28$$$&r2..FB:b&ry")<<===r   c                   | j         t          vrt          d          t          j        t          j        |                     S )zx
    Array API compatible wrapper for :py:func:`np.imag <numpy.imag>`.

    See its docstring for more information.
    z6Only complex floating-point dtypes are allowed in imag)r   r   r   r   r   r   imagr   s    r   rh   rh   }  rN   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )z
    Array API compatible wrapper for :py:func:`np.isfinite <numpy.isfinite>`.

    See its docstring for more information.
    z+Only numeric dtypes are allowed in isfinite)r   r   r   r   r   r   isfiniter   r   s    r   rj   rj     <     	wo%%EFFF:bk!(++,,,r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zz
    Array API compatible wrapper for :py:func:`np.isinf <numpy.isinf>`.

    See its docstring for more information.
    z(Only numeric dtypes are allowed in isinf)r   r   r   r   r   r   isinfr   r   s    r   rm   rm     <     	wo%%BCCC:bhqx(()))r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zz
    Array API compatible wrapper for :py:func:`np.isnan <numpy.isnan>`.

    See its docstring for more information.
    z(Only numeric dtypes are allowed in isnan)r   r   r   r   r   r   isnanr   r   s    r   rp   rp     rn   r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )zx
    Array API compatible wrapper for :py:func:`np.less <numpy.less>`.

    See its docstring for more information.
    z,Only real numeric dtypes are allowed in less)
r   r   r   r   r   r&   r   r   lessr   r(   s     r   rr   rr     sx     
x+++rx?S/S/SFGGG28$$$&r2..FB:bgbi33444r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.less_equal <numpy.less_equal>`.

    See its docstring for more information.
    z2Only real numeric dtypes are allowed in less_equal)
r   r   r   r   r   r&   r   r   
less_equalr   r(   s     r   rt   rt     sx     
x+++rx?S/S/SLMMM28$$$&r2..FB:bmBIry99:::r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zv
    Array API compatible wrapper for :py:func:`np.log <numpy.log>`.

    See its docstring for more information.
    z-Only floating-point dtypes are allowed in log)r   r   r   r   r   r   logr   r   s    r   rv   rv     rQ   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zz
    Array API compatible wrapper for :py:func:`np.log1p <numpy.log1p>`.

    See its docstring for more information.
    z/Only floating-point dtypes are allowed in log1p)r   r   r   r   r   r   log1pr   r   s    r   rx   rx     r]   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zx
    Array API compatible wrapper for :py:func:`np.log2 <numpy.log2>`.

    See its docstring for more information.
    z.Only floating-point dtypes are allowed in log2)r   r   r   r   r   r   log2r   r   s    r   rz   rz     rT   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zz
    Array API compatible wrapper for :py:func:`np.log10 <numpy.log10>`.

    See its docstring for more information.
    z/Only floating-point dtypes are allowed in log10)r   r   r   r   r   r   log10r   r   s    r   r|   r|     r]   r   c                   | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.logaddexp <numpy.logaddexp>`.

    See its docstring for more information.
    z8Only real floating-point dtypes are allowed in logaddexp)
r   r   r   r   r   r&   r   r   	logaddexpr   r(   s     r   r~   r~     sx     
x,,,@U0U0URSSS28$$$&r2..FB:bl29bi88999r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.logical_and <numpy.logical_and>`.

    See its docstring for more information.
    z.Only boolean dtypes are allowed in logical_and)
r   r   r   r   r   r&   r   r   logical_andr   r(   s     r   r   r     v     
x&&"(/*I*IHIII28$$$&r2..FB:bnRY	::;;;r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )z
    Array API compatible wrapper for :py:func:`np.logical_not <numpy.logical_not>`.

    See its docstring for more information.
    z.Only boolean dtypes are allowed in logical_not)r   r   r   r   r   r   logical_notr   r   s    r   r   r     s<     	wo%%HIII:bnQX..///r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.logical_or <numpy.logical_or>`.

    See its docstring for more information.
    z-Only boolean dtypes are allowed in logical_or)
r   r   r   r   r   r&   r   r   
logical_orr   r(   s     r   r   r     sv     
x&&"(/*I*IGHHH28$$$&r2..FB:bmBIry99:::r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.logical_xor <numpy.logical_xor>`.

    See its docstring for more information.
    z.Only boolean dtypes are allowed in logical_xor)
r   r   r   r   r   r&   r   r   logical_xorr   r(   s     r   r   r   &  r   r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.multiply <numpy.multiply>`.

    See its docstring for more information.
    z+Only numeric dtypes are allowed in multiply)
r   r   r   r   r   r&   r   r   multiplyr   r(   s     r   r   r   4  v     
x&&"(/*I*IEFFF28$$$&r2..FB:bk")RY77888r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )z
    Array API compatible wrapper for :py:func:`np.negative <numpy.negative>`.

    See its docstring for more information.
    z+Only numeric dtypes are allowed in negative)r   r   r   r   r   r   negativer   r   s    r   r   r   B  rk   r   c                   t          | j        |j                   t          j        | |          \  } }t          j        t          j        | j        |j                            S )z
    Array API compatible wrapper for :py:func:`np.not_equal <numpy.not_equal>`.

    See its docstring for more information.
    )r   r   r   r&   r   r   	not_equalr   r(   s     r   r   r   M  sN     28$$$&r2..FB:bl29bi88999r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )z
    Array API compatible wrapper for :py:func:`np.positive <numpy.positive>`.

    See its docstring for more information.
    z+Only numeric dtypes are allowed in positive)r   r   r   r   r   r   positiver   r   s    r   r   r   Y  rk   r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )zz
    Array API compatible wrapper for :py:func:`np.power <numpy.power>`.

    See its docstring for more information.
    z&Only numeric dtypes are allowed in pow)
r   r   r   r   r   r&   r   r   powerr   r(   s     r   powr   e  sv     
x&&"(/*I*I@AAA28$$$&r2..FB:bhry")44555r   c                   | j         t          vrt          d          t          j        t          j        |                     S )zx
    Array API compatible wrapper for :py:func:`np.real <numpy.real>`.

    See its docstring for more information.
    z6Only complex floating-point dtypes are allowed in real)r   r   r   r   r   r   realr   s    r   r   r   s  rN   r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.remainder <numpy.remainder>`.

    See its docstring for more information.
    z1Only real numeric dtypes are allowed in remainder)
r   r   r   r   r   r&   r   r   	remainderr   r(   s     r   r   r   ~  sx     
x+++rx?S/S/SKLLL28$$$&r2..FB:bl29bi88999r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zz
    Array API compatible wrapper for :py:func:`np.round <numpy.round>`.

    See its docstring for more information.
    z(Only numeric dtypes are allowed in round)r   r   r   r   r   r   roundr   r   s    r   r   r     rn   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zx
    Array API compatible wrapper for :py:func:`np.sign <numpy.sign>`.

    See its docstring for more information.
    z'Only numeric dtypes are allowed in sign)r   r   r   r   r   r   signr   r   s    r   r   r     s<     	wo%%ABBB:bgah''(((r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zv
    Array API compatible wrapper for :py:func:`np.sin <numpy.sin>`.

    See its docstring for more information.
    z-Only floating-point dtypes are allowed in sin)r   r   r   r   r   r   sinr   r   s    r   r   r     rQ   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zx
    Array API compatible wrapper for :py:func:`np.sinh <numpy.sinh>`.

    See its docstring for more information.
    z.Only floating-point dtypes are allowed in sinh)r   r   r   r   r   r   sinhr   r   s    r   r   r     rT   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )z|
    Array API compatible wrapper for :py:func:`np.square <numpy.square>`.

    See its docstring for more information.
    z)Only numeric dtypes are allowed in square)r   r   r   r   r   r   squarer   r   s    r   r   r     s<     	wo%%CDDD:bi))***r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zx
    Array API compatible wrapper for :py:func:`np.sqrt <numpy.sqrt>`.

    See its docstring for more information.
    z.Only floating-point dtypes are allowed in sqrt)r   r   r   r   r   r   sqrtr   r   s    r   r   r     rT   r   c                  | j         t          vs|j         t          vrt          d          t          | j         |j                    t	          j        | |          \  } }t	          j        t          j        | j	        |j	                            S )z
    Array API compatible wrapper for :py:func:`np.subtract <numpy.subtract>`.

    See its docstring for more information.
    z+Only numeric dtypes are allowed in subtract)
r   r   r   r   r   r&   r   r   subtractr   r(   s     r   r   r     r   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zv
    Array API compatible wrapper for :py:func:`np.tan <numpy.tan>`.

    See its docstring for more information.
    z-Only floating-point dtypes are allowed in tan)r   r   r   r   r   r   tanr   r   s    r   r   r     rQ   r   c                   | j         t          vrt          d          t          j        t          j        | j                            S )zx
    Array API compatible wrapper for :py:func:`np.tanh <numpy.tanh>`.

    See its docstring for more information.
    z.Only floating-point dtypes are allowed in tanh)r   r   r   r   r   r   tanhr   r   s    r   r   r     rT   r   c                   | j         t          vrt          d          | j         t          v r| S t	          j        t          j        | j                            S )zz
    Array API compatible wrapper for :py:func:`np.trunc <numpy.trunc>`.

    See its docstring for more information.
    z-Only real numeric dtypes are allowed in trunc)	r   r   r   r	   r   r   r   truncr   r   s    r   r   r     r`   r   )r   r   r   r   )r#   r   r$   r   r   r   )K
__future__r   _dtypesr   r   r   r   r	   r
   r   r   r   _array_objectr   numpyr   r   r   r!   r'   r+   r.   r1   r4   r7   r9   r?   rB   rD   rG   rI   rK   rM   rP   rS   rV   rX   rZ   r\   r_   rb   rd   rf   rh   rj   rm   rp   rr   rt   rv   rx   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   <module>r      sK   " " " " " "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 !              ( ( ( (+ + + +, , , ,4 4 4 4+ + + +, , , ,+ + + +8 8 8 8, , , ,< < < <$; ; ; ;$+ + + +; ; ; ;$< < < <"< < < <") ) ) )" " " "( ( ( () ) ) )7 7 7 7	6 	6 	6 	6( ( ( (* * * ** * * *= = = =8 8 8 8> > > >" " " "- - - -* * * ** * * *5 5 5 5; ; ; ;( ( ( (* * * *) ) ) )* * * *: : : :< < < <0 0 0 0; ; ; ;< < < <9 9 9 9- - - -	: 	: 	: 	:- - - -6 6 6 6" " " ": : : :* * * *) ) ) )( ( ( () ) ) )+ + + +) ) ) )9 9 9 9( ( ( () ) ) )* * * * * *r   