+
     þÎj�
  ã                   óz   € R t ^ RIHtHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
HtHt ^ RIHt ]R 4       t]R 4       tR	# )
zd
This file provides internal compiler utilities that support certain special
operations with numpy.
)ÚtypesÚtyping)Úunpack_tuple)Ú	intrinsic)Úimpl_ret_new_ref)ÚRequireLiteralValueÚTypingError)Útuple_setitemc                ó–   a€ ^ RI Ho V3R lp\        V4      p\        P                  ! VR\        P
                  R7      pV! V4      pWR3# )zÇA version of numpy.empty whose dtype is inferred by the type system.

Expects `shape` to be a int-tuple.

There is special logic in the type-inferencer to handle the "refine"-ing
of undefined dtype.
)Ú_empty_nd_implc                 ó¶   <€ VP                   pVP                  4       '       g   Q h\        W^ ,          4      pS! WWE4      p\        WWFP	                  4       4      # )é    )Úreturn_typeÚ
is_preciser   r   Ú	_getvalue)ÚcontextÚbuilderÚ	signatureÚargsÚarrtyÚshapesÚresr   s   &&&&   €ÚM/opt/data/home/.local/lib/python3.14/site-packages/numba/np/unsafe/ndarray.pyÚcodegenÚempty_inferred.<locals>.codegen   sP   ø€ à×%Ñ%ˆØ×Ñ×!Ò!Ð!Ð!Ü˜g¨A¥wÓ/ˆá˜W¨uÓ=ˆÜ °%¿¹»ÓIÐIó    ÚC)ÚndimÚlayoutÚdtype)Únumba.np.arrayobjr   Úlenr   ÚArrayÚ	undefined)Ú	typingctxÚshaper   ÚndÚarray_tyÚsigr   s   &&    @r   Úempty_inferredr)      s@   ø€ õ 1õJô 
ˆU‹€BÜ�{Š{ ¨3´e·o±oÔF€HÙ
�5‹/€CØˆ<Ðr   c                óX  aa€ \        V\        P                  4      '       g   \        R4      hVP                  ^8w  d%   \        RP                  VP                  4      4      h\        VP                  4      o\        P                  ! VP                  SR7      oS! W4      pVV3R lpW43# )z½Convert *array* into a tuple of *length*

Returns ``UniTuple(array.dtype, length)``

** Warning **
- No boundchecking.
  If *length* is longer than *array.size*, the behavior is undefined.
z$*length* argument must be a constantzNot supported on array.ndim={})r   Úcountc                 ó.  <€ R  pVP                   ^ ,          \        P                  S.p\        P                  ! S.VO5!  pV P                  \        P                  4      pV P                  S4      pV^ ,          V! S4      V.p	V P                  WWi4      p
V
# )c                 óR   € Tp\        V4       F  p\        W4W,          4      pK  	  V# )N)Úranger	   )ÚarrayÚlengthÚempty_tupleÚoutÚis   &&&  r   ÚimplÚ-to_fixed_tuple.<locals>.codegen.<locals>.impl?   s(   € ØˆCÜ˜6–]�Ü# C¨E­HÓ5’ñ #àˆJr   )r   r   Úintpr   r   Úget_value_typeÚget_constant_undefÚcompile_internal)r   r   r   r   r4   Úinner_argtypesÚ	inner_sigÚll_idx_typer1   Ú
inner_argsr   Ú
tuple_sizeÚ
tuple_types   &&&&       €€r   r   Úto_fixed_tuple.<locals>.codegen>   sˆ   ø€ ò	ð $Ÿ.™.¨Õ+¬U¯Z©Z¸ÐDˆÜ×$Ò$ ZÐA°.ÓAˆ	Ø×,Ñ,¬U¯Z©ZÓ8ˆà×0Ñ0°Ó<ˆØ˜1•g™{¨:Ó6¸ÐDˆ
à×&Ñ& w°iÓLˆØˆ
r   )Ú
isinstancer   ÚIntegerLiteralr   r   r   ÚformatÚintÚliteral_valueÚUniTupler   )r$   r/   r0   r(   r   r>   r?   s   &&&  @@r   Úto_fixed_tuplerG   )   s‰   ù€ ô �fœe×2Ñ2×3Ò3Ü!Ð"HÓIÐIà‡z�z�Q„ÜÐ:×AÑAÀ%Ç*Á*ÓMÓNÐNô �V×)Ñ)Ó*€JÜ—’ e§k¡k¸ÔD€JÙ
�UÓ
#€Cöð" ˆ<Ðr   N)Ú__doc__Ú
numba.corer   r   Únumba.core.cgutilsr   Únumba.core.extendingr   Únumba.core.imputilsr   Únumba.core.errorsr   r   Únumba.cpython.unsafe.tupler	   r)   rG   © r   r   Ú<module>rP      sF   ðñ÷ %Ý +Ý *Ý 0ß >å 4ð ñó ðð4 ñ%ó ò%r   