o 6a1@sdZddlmZddlZddlmZmZmZmZm Z m Z m Z ddl m Z mZmZmZmZmZmZmZmZmZmZmZmZmZmZddlmZmZddlm Z m!Z!m"Z"m#Z#m$Z$dd l%m&Z&dd l'm(Z(dd l)m*Z*ej+d krvdd lm,Z,dZ-nzdd l.m,Z,Wn e/ydZ-YnwdZ-e se-redZ0edZ1e e0e0fZ2ede&dZ3ede&dZ4ededZ5ededZ6ededZ7eddedZ8eddedZ9Gddde,e9Z:Gddde,e9Z;Gdd d e,ZGd%d&d&e,Z?Gd'd(d(e,e8Z@Gd)d*d*e,e3ZAGd+d,d,e,e3ZBGd-d.d.e,e3ZCGd/d0d0e,e3ZDGd1d2d2e,e3ZEGd3d4d4e,e3ZFGd5d6d6e,e3ZGGd7d8d8e,e3ZHGd9d:d:e,e3ZIGd;d<dd>e,e3ZKGd?d@d@e,e3ZLGdAdBdBe,e3ZMGdCdDdDe,ZNGdEdFdFe,e0e1fZOdSeZ:eZ;eZeZ?eZ@eZAeZBeZCeZDeZEeZFeZGeZHeZIeZJeZKeZLeZMeZNeZOdS)Ga A module with various ``typing.Protocol`` subclasses that implement the ``__call__`` magic method. See the `Mypy documentation`_ on protocols for more details. .. _`Mypy documentation`: https://mypy.readthedocs.io/en/stable/protocols.html#callback-protocols ) annotationsN)UnionTypeVaroverloadAnyTupleNoReturn TYPE_CHECKING)ndarraydtypegenericbool_ timedelta64numberintegerunsignedinteger signedintegerint8int_floatingfloat64complexfloating complex128)_NBitInt _NBitDouble) _BoolLike_co _IntLike_co _FloatLike_co_ComplexLike_co_NumberLike_co)NBitBase) ArrayLike)NDArray))ProtocolTF_T1_T2_NBit1)bound_NBit2_IntType _FloatType _NumberType_NumberType_co) covariantr*_GenericType_coc@ReZdZedddZedd dZedd dZedddZedddZdS)_BoolOp_BoolOp__otherrreturnr1cCdSNselfr4r8r88/usr/lib/python3/dist-packages/numpy/typing/_callable.py__call__Oz_BoolOp.__call__intrcCr6r7r8r9r8r8r;r<Qr=floatrcCr6r7r8r9r8r8r;r<Sr=complexrcCr6r7r8r9r8r8r;r<Ur=r.cCr6r7r8r9r8r8r;r<Wr=N)r4rr5r1)r4r>r5r)r4r?r5r)r4r@r5r)r4r.r5r.__name__ __module__ __qualname__rr<r8r8r8r;r3N    r3c@6eZdZed ddZedd dZedd dZd S) _BoolBitOp_BoolBitOp__otherrr5r1cCr6r7r8r:rHr8r8r;r<[r=z_BoolBitOp.__call__r>rcCr6r7r8rIr8r8r;r<]r=r,cCr6r7r8rIr8r8r;r<_r=N)rHrr5r1)rHr>r5r)rHr,r5r,rAr8r8r8r;rGZ  rGc@r2)_BoolSub_BoolSub__otherboolr5rcCr6r7r8r:rLr8r8r;r<dr=z_BoolSub.__call__r>rcCr6r7r8rNr8r8r;r<fr=r?rcCr6r7r8rNr8r8r;r<hr=r@rcCr6r7r8rNr8r8r;r<jr=r.cCr6r7r8rNr8r8r;r<lr=N)rLrMr5r)rLr>r5r)rLr?r5r)rLr@r5r)rLr.r5r.rAr8r8r8r;rKbs    rKc@rF) _BoolTrueDiv_BoolTrueDiv__otherUnion[float, _IntLike_co]r5rcCr6r7r8r:rPr8r8r;r<pr=z_BoolTrueDiv.__call__r@rcCr6r7r8rRr8r8r;r<rr=r.cCr6r7r8rRr8r8r;r<tr=N)rPrQr5r)rPr@r5r)rPr.r5r.rAr8r8r8r;rOorJrOc@sReZdZedddZedd dZedd dZedddZedddZdS)_BoolMod_BoolMod__otherrr5rcCr6r7r8r:rTr8r8r;r<xr=z_BoolMod.__call__r>rcCr6r7r8rUr8r8r;r<zr=r?rcCr6r7r8rUr8r8r;r<|r=r,cCr6r7r8rUr8r8r;r<~r=r-cCr6r7r8rUr8r8r;r<r=N)rTrr5r)rTr>r5r)rTr?r5r)rTr,r5r,)rTr-r5r-rAr8r8r8r;rSwrErSc@ReZdZedddZedd dZedd dZedddZedddZdS) _BoolDivMod_BoolDivMod__otherrr5 _2Tuple[int8]cCr6r7r8r:rXr8r8r;r<r=z_BoolDivMod.__call__r> _2Tuple[int_]cCr6r7r8rZr8r8r;r<r=r?-_2Tuple[floating[Union[_NBit1, _NBitDouble]]]cCr6r7r8rZr8r8r;r<r=r,_2Tuple[_IntType]cCr6r7r8rZr8r8r;r<r=r-_2Tuple[_FloatType]cCr6r7r8rZr8r8r;r<r=N)rXrr5rY)rXr>r5r[)rXr?r5r\)rXr,r5r])rXr-r5r^rAr8r8r8r;rWrErWc@rF)_TD64Div_TD64Div__otherrr5r/cCr6r7r8r:r`r8r8r;r<r=z_TD64Div.__call__rrcCr6r7r8rar8r8r;r<r=rcCr6r7r8rar8r8r;r<r=N)r`rr5r/)r`rr5r)r`rr5rrAr8r8r8r;r_rJr_c@rV) _IntTrueDiv_IntTrueDiv__otherrMr5floating[_NBit1]cCr6r7r8r:rcr8r8r;r<r=z_IntTrueDiv.__call__r>!floating[Union[_NBit1, _NBitInt]]cCr6r7r8rer8r8r;r<r=r?$floating[Union[_NBit1, _NBitDouble]]cCr6r7r8rer8r8r;r<r=r@Gcomplexfloating[Union[_NBit1, _NBitDouble], Union[_NBit1, _NBitDouble]]cCr6r7r8rer8r8r;r<integer[_NBit2]floating[Union[_NBit1, _NBit2]]cCr6r7r8rer8r8r;r<r=N)rcrMr5rd)rcr>r5rf)rcr?r5rg)rcr@r5rh)rcrjr5rkrAr8r8r8r;rb    rbc@rV)_UnsignedIntOp_UnsignedIntOp__otherrMr5unsignedinteger[_NBit1]cCr6r7r8r:rnr8r8r;r<r=z_UnsignedIntOp.__call__Union[int, signedinteger[Any]]rcCr6r7r8rpr8r8r;r<rir?rgcCr6r7r8rpr8r8r;r<r=r@rhcCr6r7r8rpr8r8r;r<riunsignedinteger[_NBit2]&unsignedinteger[Union[_NBit1, _NBit2]]cCr6r7r8rpr8r8r;r<riN)rnrMr5ro)rnrqr5r)rnr?r5rg)rnr@r5rh)rnrrr5rsrAr8r8r8r;rms    rmc@sDeZdZedddZedd dZedd dZedd dZdS)_UnsignedIntBitOp_UnsignedIntBitOp__otherrMr5rocCr6r7r8r:rur8r8r;r<r=z_UnsignedIntBitOp.__call__r>signedinteger[Any]cCr6r7r8rvr8r8r;r<r=cCr6r7r8rvr8r8r;r<r=rrrscCr6r7r8rvr8r8r;r<riN)rurMr5ro)rur>r5rw)rurwr5rw)rurrr5rsrAr8r8r8r;rt   rtc@DeZdZedddZedd dZedd dZedddZdS)_UnsignedIntMod_UnsignedIntMod__otherrMr5rocCr6r7r8r:r{r8r8r;r<r=z_UnsignedIntMod.__call__rqrcCr6r7r8r|r8r8r;r<rir?rgcCr6r7r8r|r8r8r;r<r=rrrscCr6r7r8r|r8r8r;r<riN)r{rMr5ro)r{rqr5r)r{r?r5rg)r{rrr5rsrAr8r8r8r;rz   rzc@ry)_UnsignedIntDivMod_UnsignedIntDivMod__otherrMr5_2Tuple[signedinteger[_NBit1]]cCr6r7r8r:rr8r8r;r<r=z_UnsignedIntDivMod.__call__rq _2Tuple[Any]cCr6r7r8rr8r8r;r<rir?r\cCr6r7r8rr8r8r;r<r=rr/_2Tuple[unsignedinteger[Union[_NBit1, _NBit2]]]cCr6r7r8rr8r8r;r<riN)rrMr5r)rrqr5r)rr?r5r\)rrrr5rrAr8r8r8r;r~r}r~c@rV) _SignedIntOp_SignedIntOp__otherrMr5signedinteger[_NBit1]cCr6r7r8r:rr8r8r;r<r=z_SignedIntOp.__call__r>&signedinteger[Union[_NBit1, _NBitInt]]cCr6r7r8rr8r8r;r<r=r?rgcCr6r7r8rr8r8r;r<r=r@rhcCr6r7r8rr8r8r;r<risignedinteger[_NBit2]$signedinteger[Union[_NBit1, _NBit2]]cCr6r7r8rr8r8r;r<riN)rrMr5r)rr>r5r)rr?r5rg)rr@r5rh)rrr5rrAr8r8r8r;rrlrc@s6eZdZedddZedd dZedd dZd S)_SignedIntBitOp_SignedIntBitOp__otherrMr5rcCr6r7r8r:rr8r8r;r<r=z_SignedIntBitOp.__call__r>rcCr6r7r8rr8r8r;r<r=rrcCr6r7r8rr8r8r;r<riN)rrMr5r)rr>r5r)rrr5rrAr8r8r8r;rrJrc@ry) _SignedIntMod_SignedIntMod__otherrMr5rcCr6r7r8r:rr8r8r;r<r=z_SignedIntMod.__call__r>rcCr6r7r8rr8r8r;r<r=r?rgcCr6r7r8rr8r8r;r<r=rrcCr6r7r8rr8r8r;r<riN)rrMr5r)rr>r5r)rr?r5rg)rrr5rrAr8r8r8r;rrxrc@ry)_SignedIntDivMod_SignedIntDivMod__otherrMr5rcCr6r7r8r:rr8r8r;r<r=z_SignedIntDivMod.__call__r>/_2Tuple[signedinteger[Union[_NBit1, _NBitInt]]]cCr6r7r8rr8r8r;r< r=r?r\cCr6r7r8rr8r8r;r< r=r-_2Tuple[signedinteger[Union[_NBit1, _NBit2]]]cCr6r7r8rr8r8r;r< riN)rrMr5r)rr>r5r)rr?r5r\)rrr5rrAr8r8r8r;rrxrc@rV)_FloatOp_FloatOp__otherrMr5rdcCr6r7r8r:rr8r8r;r<r=z_FloatOp.__call__r>rfcCr6r7r8rr8r8r;r<r=r?rgcCr6r7r8rr8r8r;r<r=r@rhcCr6r7r8rr8r8r;r<ri(Union[integer[_NBit2], floating[_NBit2]]rkcCr6r7r8rr8r8r;r<riN)rrMr5rd)rr>r5rf)rr?r5rg)rr@r5rh)rrr5rkrAr8r8r8r;rrlrc@ry) _FloatMod_FloatMod__otherrMr5rdcCr6r7r8r:rr8r8r;r<#r=z_FloatMod.__call__r>rfcCr6r7r8rr8r8r;r<%r=r?rgcCr6r7r8rr8r8r;r<'r=rrkcCr6r7r8rr8r8r;r<)riN)rrMr5rd)rr>r5rf)rr?r5rg)rrr5rkrAr8r8r8r;r"rxrc@ry) _FloatDivMod_FloatDivMod__otherrMr5_2Tuple[floating[_NBit1]]cCr6r7r8r:rr8r8r;r</r=z_FloatDivMod.__call__r>*_2Tuple[floating[Union[_NBit1, _NBitInt]]]cCr6r7r8rr8r8r;r<1r=r?r\cCr6r7r8rr8r8r;r<3r=r(_2Tuple[floating[Union[_NBit1, _NBit2]]]cCr6r7r8rr8r8r;r<5riN)rrMr5r)rr>r5r)rr?r5r\)rrr5rrAr8r8r8r;r.rxrc@ry) _ComplexOp_ComplexOp__otherrMr5complexfloating[_NBit1, _NBit1]cCr6r7r8r:rr8r8r;r<;r=z_ComplexOp.__call__r>Acomplexfloating[Union[_NBit1, _NBitInt], Union[_NBit1, _NBitInt]]cCr6r7r8rr8r8r;r<=r=Union[float, complex]rhcCr6r7r8rr8r8r;r<?riIUnion[integer[_NBit2], floating[_NBit2], complexfloating[_NBit2, _NBit2]]=complexfloating[Union[_NBit1, _NBit2], Union[_NBit1, _NBit2]]cCr6r7r8rr8r8r;r<CsN)rrMr5r)rr>r5r)rrr5rh)rrr5rrAr8r8r8r;r:s   rc@seZdZdddZdS) _NumberOp_NumberOp__otherr r5rcCr6r7r8)r:rr8r8r;r<Nsz_NumberOp.__call__N)rr r5r)rBrCrDr<r8r8r8r;rMsrc@s(eZdZed ddZed d dZd S) _ComparisonOp_ComparisonOp__otherr'r5r cCr6r7r8r:rr8r8r;r<Qr=z_ComparisonOp.__call__r(NDArray[bool_]cCr6r7r8rr8r8r;r<Sr=N)rr'r5r )rr(r5rrAr8r8r8r;rPs  r)P__doc__ __future__rsystypingrrrrrrr numpyr r r r rrrrrrrrrrr_nbitrr_scalarsrrrrr r! _array_liker"_generic_aliasr# version_infor& HAVE_PROTOCOLtyping_extensions ImportErrorr'r(_2Tupler)r+r,r-r.r/r1r3rGrKrOrSrWr_rbrmrtrzr~rrrrrrrrrrr8r8r8r;s $D