
    >>iZ                        S r SSKJrJrJrJrJrJrJrJ	r	J
r
JrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJr  SSKJr  \" S5       " S S5      5       r\ S:X  a  \" \" S5      S	5      r!\" \!5      r"\#" \$" \"5      5        \#" \" \"5      \"R0                  5        \"S
S2S
S24   r%\#" \%5        S\%S'   \#" \%S   \"S   5        \#" \" \%5      S-  S-  \" \%S-  5      -   5        \#" \" \%S5      \&" \" \%S5      5      5        \#" \&" \%\" \" S5      \" \%5      5      -  5      5        \#" \" \%S5      5        \#" \" \%5      5        g
g
)a7  
Container class for backward compatibility with NumArray.

The user_array.container class exists for backward compatibility with NumArray
and is not meant to be used in new code. If you need to create an array
container class, we recommend either creating a class that wraps an ndarray
or subclasses ndarray.

    )absoluteaddarangearrayasarraybitwise_and
bitwise_orbitwise_xordivideequalgreatergreater_equalinvert
left_shiftless
less_equalmultiply	not_equalpower	remainderreshaperight_shiftshapesinsqrtsubtract	transpose)
set_moduleznumpy.lib.user_arrayc                      \ rS rSrSrSBS jrSCS jrS rSDS jrS r	S	 r
S
 rS rS rS r\rS rS rS rS rS r\rS rS rS rS rS rS rS rS rS rS rS r S r!S r"S  r#S! r$S" r%S# r&S$ r'S% r(S& r)S' r*S( r+S) r,S* r-S+ r.S, r/S- r0S. r1S/ r2S0 r3S1 r4S2 r5S3 r6S4 r7S5 r8S6 r9S7 r:S8 r;S9 r<S: r=S; r>S< r?S= r@S> rAS? rBS@ rCSArDg)E	container*   z
container(data, dtype=None, copy=True)

Standard container-class for easy multiple-inheritance.

Methods
-------
copy
byteswap
astype

Nc                 6    SS K nUR                  S[        SS9  g )Nr   z_The numpy.lib.user_array.container class is deprecated and will be removed in a future version.   )
stacklevel)warningswarnDeprecationWarning)clsr%   s     Y/var/www/html/land-tabula/venv/lib/python3.13/site-packages/numpy/lib/_user_array_impl.py__init_subclass__container.__init_subclass__8   s!    +	 	 	
    c                 "    [        XUS9U l         g )N)copyr   )selfdatadtyper.   s       r)   __init__container.__init__C   s    4T2
r,   c                     U R                   S:  a8  U R                  R                  [        U R                  5      [        S5      S  -   $ U R                  R                  S-   [        U R                  5      -   S-   $ )Nr   r   ())ndim	__class____name__reprr   lenr0   s    r)   __repr__container.__repr__F   s^    99q=>>**T$**-=c'lm-LLL>>**S04

3CCcIIr,   c                 ^    U(       a  U R                   R                  U5      $ U R                   $ N)r   astype)r0   ts     r)   	__array__container.__array__L   s$    ::$$Q''zzr,   c                 ,    [        U R                  5      $ rA   )r<   r   r=   s    r)   __len__container.__len__R   s    4::r,   c                 >    U R                  U R                  U   5      $ rA   _rcr   )r0   indexs     r)   __getitem__container.__getitem__U   s    xx

5)**r,   c                 H    [        X R                  5      U R                  U'   g rA   )r   r2   r   )r0   rL   values      r)   __setitem__container.__setitem__X   s    #E::6

5r,   c                 J    U R                  [        U R                  5      5      $ rA   )rK   r   r   r=   s    r)   __abs__container.__abs__[   s    xx,--r,   c                 :    U R                  U R                  * 5      $ rA   rJ   r=   s    r)   __neg__container.__neg__^   s    xx$$r,   c                 P    U R                  U R                  [        U5      -   5      $ rA   rK   r   r   r0   others     r)   __add__container.__add__a       xx

WU^344r,   c                 F    [        U R                  XR                  5        U $ rA   )r   r   r[   s     r)   __iadd__container.__iadd__f   s    DJJzz*r,   c                 P    U R                  U R                  [        U5      -
  5      $ rA   rZ   r[   s     r)   __sub__container.__sub__j   r_   r,   c                 P    U R                  [        U5      U R                  -
  5      $ rA   )rK   r   r   r[   s     r)   __rsub__container.__rsub__m   s    xx344r,   c                 F    [        U R                  XR                  5        U $ rA   )r   r   r[   s     r)   __isub__container.__isub__p       UJJ/r,   c                 ^    U R                  [        U R                  [        U5      5      5      $ rA   )rK   r   r   r   r[   s     r)   __mul__container.__mul__t   s     xxWU^<==r,   c                 F    [        U R                  XR                  5        U $ rA   )r   r   r[   s     r)   __imul__container.__imul__y   rl   r,   c                 L    U R                  [        U R                  U5      5      $ rA   rK   r   r   r[   s     r)   __mod__container.__mod__}       xx	$**e455r,   c                 J    U R                  [        XR                  5      5      $ rA   rt   r[   s     r)   __rmod__container.__rmod__   s    xx	%455r,   c                 F    [        U R                  XR                  5        U $ rA   )r   r   r[   s     r)   __imod__container.__imod__   s    $**eZZ0r,   c                     U R                  [        U R                  U5      5      U R                  [        U R                  U5      5      4$ rA   rK   r   r   r   r[   s     r)   
__divmod__container.__divmod__   s:    

E234::u568 	8r,   c                     U R                  [        XR                  5      5      U R                  [        XR                  5      5      4$ rA   r   r[   s     r)   __rdivmod__container.__rdivmod__   s6    zz235**568 	8r,   c                 ^    U R                  [        U R                  [        U5      5      5      $ rA   )rK   r   r   r   r[   s     r)   __pow__container.__pow__   s     xxdjj'%.9::r,   c                 ^    U R                  [        [        U5      U R                  5      5      $ rA   )rK   r   r   r   r[   s     r)   __rpow__container.__rpow__   s     xxgendjj9::r,   c                 F    [        U R                  XR                  5        U $ rA   )r   r   r[   s     r)   __ipow__container.__ipow__   s    djj%,r,   c                 L    U R                  [        U R                  U5      5      $ rA   rK   r   r   r[   s     r)   
__lshift__container.__lshift__       xx
4::u566r,   c                 L    U R                  [        U R                  U5      5      $ rA   rK   r   r   r[   s     r)   
__rshift__container.__rshift__       xxDJJ677r,   c                 J    U R                  [        XR                  5      5      $ rA   r   r[   s     r)   __rlshift__container.__rlshift__       xx
5**566r,   c                 J    U R                  [        XR                  5      5      $ rA   r   r[   s     r)   __rrshift__container.__rrshift__       xxE::677r,   c                 F    [        U R                  XR                  5        U $ rA   )r   r   r[   s     r)   __ilshift__container.__ilshift__       4::ujj1r,   c                 F    [        U R                  XR                  5        U $ rA   )r   r   r[   s     r)   __irshift__container.__irshift__       DJJzz2r,   c                 L    U R                  [        U R                  U5      5      $ rA   rK   r   r   r[   s     r)   __and__container.__and__   r   r,   c                 J    U R                  [        XR                  5      5      $ rA   r   r[   s     r)   __rand__container.__rand__   r   r,   c                 F    [        U R                  XR                  5        U $ rA   )r   r   r[   s     r)   __iand__container.__iand__   r   r,   c                 L    U R                  [        U R                  U5      5      $ rA   rK   r
   r   r[   s     r)   __xor__container.__xor__   r   r,   c                 J    U R                  [        XR                  5      5      $ rA   r   r[   s     r)   __rxor__container.__rxor__   r   r,   c                 F    [        U R                  XR                  5        U $ rA   )r
   r   r[   s     r)   __ixor__container.__ixor__   r   r,   c                 L    U R                  [        U R                  U5      5      $ rA   rK   r	   r   r[   s     r)   __or__container.__or__   r   r,   c                 J    U R                  [        XR                  5      5      $ rA   r   r[   s     r)   __ror__container.__ror__   r   r,   c                 F    [        U R                  XR                  5        U $ rA   )r	   r   r[   s     r)   __ior__container.__ior__   r   r,   c                 8    U R                  U R                  5      $ rA   rJ   r=   s    r)   __pos__container.__pos__   s    xx

##r,   c                 J    U R                  [        U R                  5      5      $ rA   )rK   r   r   r=   s    r)   
__invert__container.__invert__   s    xxtzz*++r,   c                 N    U R                   S:X  a  U" U S   5      $ [        S5      e)Nr   z6only rank-0 arrays can be converted to Python scalars.)r8   	TypeError)r0   funcs     r)   _scalarfunccontainer._scalarfunc   s-    99>Q= HJ Jr,   c                 ,    U R                  [        5      $ rA   )r   complexr=   s    r)   __complex__container.__complex__   s    ((r,   c                 ,    U R                  [        5      $ rA   )r   floatr=   s    r)   	__float__container.__float__   s    &&r,   c                 ,    U R                  [        5      $ rA   )r   intr=   s    r)   __int__container.__int__       $$r,   c                 ,    U R                  [        5      $ rA   )r   hexr=   s    r)   __hex__container.__hex__   r   r,   c                 ,    U R                  [        5      $ rA   )r   octr=   s    r)   __oct__container.__oct__   r   r,   c                 L    U R                  [        U R                  U5      5      $ rA   )rK   r   r   r[   s     r)   __lt__container.__lt__   s    xxTZZ/00r,   c                 L    U R                  [        U R                  U5      5      $ rA   )rK   r   r   r[   s     r)   __le__container.__le__   r   r,   c                 L    U R                  [        U R                  U5      5      $ rA   )rK   r   r   r[   s     r)   __eq__container.__eq__   s    xxdjj%011r,   c                 L    U R                  [        U R                  U5      5      $ rA   )rK   r   r   r[   s     r)   __ne__container.__ne__   rw   r,   c                 L    U R                  [        U R                  U5      5      $ rA   )rK   r   r   r[   s     r)   __gt__container.__gt__   s    xx

E233r,   c                 L    U R                  [        U R                  U5      5      $ rA   )rK   r   r   r[   s     r)   __ge__container.__ge__   s    xxdjj%899r,   c                 T    U R                  U R                  R                  5       5      $  )rK   r   r.   r=   s    r)   r.   container.copy   s    xx

)**r,   c                 6    U R                   R                  5       $ r   )r   tobytesr=   s    r)   r   container.tobytes   s    zz!!##r,   c                 T    U R                  U R                  R                  5       5      $ r   )rK   r   byteswapr=   s    r)   r   container.byteswap  s    xx

++-..r,   c                 V    U R                  U R                  R                  U5      5      $ r   )rK   r   rB   )r0   typecodes     r)   rB   container.astype  s     xx

))(344r,   c                 X    [        [        U5      5      S:X  a  U$ U R                  U5      $ Nr   )r<   r   r9   )r0   as     r)   rK   container._rc	  s&    uQx=AH>>!$$r,   c                 *    U R                  US   5      $ r  )r9   )r0   argss     r)   __array_wrap__container.__array_wrap__  s    ~~d1g&&r,   c                     US:X  a  [         R                  XU5        g  U R                  R                  X5        g ! [         a    [         R                  XU5         g f = fNr   )object__setattr__r   AttributeError)r0   attrrP   s      r)   r  container.__setattr__  sR    7?t51	2JJ""4/ 	2t51	2s   ;  AAc                 n    US:X  a  [         R                  X5      $ U R                  R                  U5      $ r  )r  __getattribute__r   )r0   r  s     r)   __getattr__container.__getattr__  s/    GO**466zz**400r,   r/   )returnN)NTrA   )Er:   
__module____qualname____firstlineno____doc__r*   r3   r>   rD   rG   rM   rQ   rT   rW   r]   __radd__ra   rd   rg   rj   rn   __rmul__rq   ru   ry   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   r   r   r   r   r   r   r   r   r   r   r.   r   r   rB   rK   r  r  r  __static_attributes__ r,   r)   r    r    *   sH   	
3J+7.%5 H55> H6688;;7878888877$,J)'%%%17264:+$/5%'21r,   r    __main__i'  )d   r"  N      
   )r   r   g      @g      @r#   g      )r$  r#  )'r  numpy._corer   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   r   numpy._core.overridesr   r    r:   tempuaprintdirua_smalltyper   r,   r)   <module>r0     sT         : - "#t1 t1 $t1t z6%=*-D	4B	#b'N	%)RXX"1"bqb&zH	(OHTN	(4."T(#	#h-"
r
!DQ$7
78	$x
tD3$789	$x'&*eHo>>
?@	'(F
#$	)H
# r,   