All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Lib.Krakatau.ssa.ssa_ops.array.pyc Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
?
?HRc@s?ddlmZddlmZddlmZddlmZmZm	Z	m
Z
defd??YZdefd	??YZd
efd??YZ
dS(
i(tBaseOpi(tSSA_INT(texcepttypes(t
IntConstrainttFloatConstrainttObjectConstrainttDUMMYtArrLoadcBseZd?Zd?ZRS(cCsWtt|?j||g|dt?|j|_|j|d|?|_||_dS(Nt
makeExceptiontorigin(tsuperRt__init__tTruetenvtmakeVariabletrvaltssatype(tselftparenttargsRtmonad((sA/home/alex/projects/github/krakatau/Krakatau/ssa/ssa_ops/array.pyRs&c	Cs
d}|jrS|tjf7}|j?rSdtj|jg|dt?dfSn|j	dks?|j
|j	jks?|jdkr?|tjf7}tj|jg|dt?}d|dfS|j|j	j
ks?|j
dkr?|tjf7}n|j
ddkr$tj|j
d?}n?|j
ddkrPtj|j
d?}n?|j
ddkr?g|jjD]\}}||df^qp}	g|jjD]\}}||df^q?}
tj|jj|	|
?}ntj|jg|dt?}||dfS(Ntnonnullitintitfloattobj((tnullRtNullPtrtisConstNulltNoneRtfromTopsR
RtarrlentmintmaxtArrayOOBRRtbotRttypestsuperstexact(RtmtatitetypesteouttrouttbasetdimR$R%((sA/home/alex/projects/github/krakatau/Krakatau/ssa/ssa_ops/array.pytpropagateConstraintss*	(3
$//(t__name__t
__module__RR.(((sA/home/alex/projects/github/krakatau/Krakatau/ssa/ssa_ops/array.pyRs	tArrStorecBseZd?Zd?ZRS(cCs<tt|?j||g|dtdt?|j|_dS(NRt	makeMonad(R
R1RRR
(RRRR((sA/home/alex/projects/github/krakatau/Krakatau/ssa/ssa_ops/array.pyR)s,c	Cs?d}|jrS|tjf7}|j?rSdtj|jg|dt?|fSn|j	dks?|j
|j	jks?|jdkr?|tjf7}tj|jg|dt?}d||fS|j|j	j
ks?|j
dkr?|tjf7}nt
|t?r|g|jjD]\}}||df^q}	tj|jj|	g?}
|
j|?|
kr||tjf7}q|ntj|jg|dt?}d|tfS(NRii((RRRRRRRR
RRRR R!t
isinstanceR#R%tmeett
ArrayStoreR(RR&R'R(txR)R*R,R-R%tallowed((sA/home/alex/projects/github/krakatau/Krakatau/ssa/ssa_ops/array.pyR.-s$	(3
$/(R/R0RR.(((sA/home/alex/projects/github/krakatau/Krakatau/ssa/ssa_ops/array.pyR1(s	t	ArrLengthcBseZd?Zd?ZRS(cCsntt|?j||dt?|j|_|jtd|?|_tj	|jgt
jfdt?|_dS(NRR	R(
R
R8RRR
RRRRRRRtoutExceptionCons(RRR((sA/home/alex/projects/github/krakatau/Krakatau/ssa/ssa_ops/array.pyREscCs?d}|jrS|tjf7}|j?rSdtj|jg|dt?dfSntj|jg|dt?}}|j	|dfS(NR((
RRRRRRRR
RR(RR6R)texconsR*((sA/home/alex/projects/github/krakatau/Krakatau/ssa/ssa_ops/array.pyR.Ks	("(R/R0RR.(((sA/home/alex/projects/github/krakatau/Krakatau/ssa/ssa_ops/array.pyR8Ds	N(R,Rt	ssa_typesRtRtconstraintsRRRRRR1R8(((sA/home/alex/projects/github/krakatau/Krakatau/ssa/ssa_ops/array.pyts"!




© 2015 - 2025 Weber Informatics LLC | Privacy Policy