Current File : //proc/self/root/proc/self/root/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyc
�
E�`Qc@sh
dZddlZddlZddljjZddljjZddlm	Z	m
Z
mZddlmZm
Z
ddlmZmZddljjZddlZejddkr�ddlmZniZiZeZed�Zd	Zd
efd��YZdfd
��YZed�ZdZddZ dZ!dZ"dZ#d�Z$d�Z%d�Z&d�Z'd�Z(d�Z)d�Z*ddd�Z+d�Z,d�Z-e.d�Z/d�Z0d �Z1d!fd"��YZ2d#fd$��YZ3d%fd&��YZ4d'fd(��YZ5d)fd*��YZ6d+fd,��YZ7d-fd.��YZ8d/fd0��YZ9e6ej:d1e5d1��Z:e6ej;d2e4d1��Z;e6ej<d2e4d1��Z<e6ej=�Z=e6ej>�Z>e6ej?�Z?e6ej@�Z@e6ejAd1e3d	��ZAe6ejBd1e2d3d2��ZBe6ejCd1e2d3d2��ZCe6ejD�ZDe6ejE�ZEe6ejFd2e5d2��ZFe6ejGd1e2d3d4d2d4��ZGe6ejH�ZHe6ejI�ZIe6ejJ�ZJe6ejK�ZKe6ejL�ZLe6ejM�ZMd5�ZNe6ejO�ZPe6ejQ�ZQe6ejR�ZRe6ejS�ZSe9ejT�ZTe9ejU�ZUe.eU_e9ejVd6d6�ZVe8ejWe7�dd6�ZWe8ejXe7�dd6�ZXe8ejYe7�dd6�ZYe8ejZe7�dd6�ZZe8ej[e7�dd6�Z[e9ej\�Z\e9ej]d1d2�Z]e.e]_e9ej^�Z^e.e^_e9ej_�Z_e.e__e9ej`�Z`e.e`_e9eja�Zae.ea_e9ejb�Zbe.eb_e9ejc�Zce.ec_e9ejd�Zde9ejdd6d6�jZee9ejf�ZfefjZge9ejh�Zhe9eji�Zie9ejj�Zje9ejk�Zkd7�Zld8�Zme.d9�Znd:eofd;��YZpepZqd<�ZrerZserZtd6d=d>d?�Zud6d@�Zvd=d>d6dA�Zwd6dB�Zxe.d6e.dC�ZyeyZzdD�Z{dE�Z|dF�Z}dG�Z~e.dH�ZdI�Z�e.dJ�Z�e�dK�Z�e�dL�Z�e.dM�Z�e.dN�Z�ee.dO�Z�e.e.dP�Z�e.e.dQ�Z�e.e.ddR�Z�dS�Z�e.dTdU�Z�d6dV�Z�d6dW�Z�d6dX�Z�d6dY�Z�d6dZ�Z�d6d[�Z�d6d\�Z�d6d]�Z�d6d^�Z�d_�Z�d`�Z�dda�Z�db�Z�e.e.dTdc�Z�e.dd�Z�dTde�Z�df�Z�dg�Z�e�Z�dh�Z�e�Z�di�Z�de.dj�Z�dkfdl��YZ�e��Z�dmfdn��YZ�e��Z�de.do�Z�ddd6dp�Z�ddd6e.e.dq�Z�de.e.dr�Z�de.e.ds�Z�de.e.dt�Z�du�Z�e.dv�Z�ddwlm�Z�dx�Z�dy�Z�e�ee�eq_�e�eg�eq_�e�e��eq_�e�e��eq_�e�e��eq_�e�e�e���eq_�e�e��eq_�dz�Z�e�e��eq_�[�e.d{�Z�e�e��eq_�e.e.d|�Z�e�e��eq_�[�e�e>�eq_�eq_>e�e��eq_�e.e.e.d}�Z�e�e��eq_�e.e.e.d~�Z�e�e��eq_�e�e��eq_�e�e��eq_�e�e��eq_�e�e��eq_�e�e�e���eq_�e�e��eq_�e�e��eq_�e.e.d�Z�e�e��eq_�[�e.e.d��Z�e�e��eq_�[�e�e��eq_�e�e�e���eq_�e�e��eq_�e�eN�eq_Ne�e��eq_�e.e.d��Z�e�e��eq_�e�e�eq_�e�e~�eq_~e�e��eq_�e�e��eq_�e�e��eq_�e�e��eq_�d��Z�e�e��eq_�e�e�e���eq_�e�e��eq_�d��Z�e�e��eq_�e�e��eq_�e�e��eq_�e�e��eq_�e�e��eq_�e.e.e.d��Z�e.e.e.d��Z�e�e��eq_�e�e��eq_�e�e��eq_�e�eP�eq_�[�[�[�epde�d�d6�Z�dd��Z�de.dd��Z�dd��Z�dS(�s0MA: a facility for dealing with missing observations
MA is generally used as a numpy.array look-alike.
by Paul F. Dubois.

Copyright 1999, 2000, 2001 Regents of the University of California.
Released for unlimited redistribution.
Adapted for numpy_core 2005 by Travis Oliphant and
(mainly) Paul Dubois.

i����N(tnewaxistndarraytinf(tamaxtamin(tbool_t	typecodesii(treducegz�����8tMAErrorcBs#eZdd�Zd�ZeZRS(cCs(t|t�s|f}n||_dS(sCreate an exceptionN(t
isinstancettupletargs(tselfR((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__init__"scCst|jd�S(s#Calculate the string representationi(tstrR(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__str__)sN(t__name__t
__module__tNoneR
Rt__repr__(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR!s	t_MaskedPrintOptioncBsMeZdZd�Zd�Zd�Zd�Zdd�Zd�ZeZ	RS(s<One instance of this class, masked_print_option, is created.cCs|j|�d|_dS(s&Create the masked print option object.iN(tset_displayt_enabled(Rtdisplay((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
0s
cCs|jS(s#Show what prints for masked values.(t_display(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR5scCs
||_dS(s2set_display(s) sets what prints for masked values.N(R(Rts((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR9scCs|jS(s(Is the use of the display value enabled?(R(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytenabled=sicCs
||_dS(sSet the enabling flag to flag.N(R(Rtflag((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytenableAscCs
t|j�S(N(RR(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyREs(
RRt__doc__R
RRRRRR(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR.s					s--g@��x�Dyt-i?Bt?cCs
t|tj�rtSt|tj�s:t|tj�r>tSt|tj�rTtSt|tj	�rjt
St|t�s�t|t�r|j
j}|tdkr�tS|tdkr�tS|tdkr�t
S|tdkr�tS|tdkrtjt�StStSdS(s7Function to calculate default fill value for an object.tFloattIntegertComplext	CharactertUnsignedIntegerN(R	ttypest	FloatTypetdefault_real_fill_valuetIntTypetLongTypetdefault_integer_fill_valuet
StringTypetdefault_character_fill_valuetComplexTypetdefault_complex_fill_valuetMaskedArrayRtdtypetcharRtumathtabsolutetdefault_object_fill_value(tobjtx((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytdefault_fill_valueTs,$
cCs�t|tj�rtjSt|tj�s=t|tj�rDtjSt|t	�sbt|t
�r�|jj}|t
dkr�tjS|t
dkr�tjS|t
dkr�tjSntd��dS(sDFunction to calculate default fill value suitable for taking minima.R R!R$s(Unsuitable type for calculating minimum.N(R	R%R&tnumericRR(R)tsystmaxintR/RR0R1Rt	TypeError(R5R6((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytminimum_fill_valuens$
cCs�t|tj�rtSt|tj�s;t|tj�rCtjSt|t�sat|t	�r�|j
j}|tdkr�tS|tdkr�tjS|tdkr�dSnt
d��dS(sDFunction to calculate default fill value suitable for taking maxima.R R!R$is(Unsuitable type for calculating maximum.N(R	R%R&RR(R)R9R:R/RR0R1RR;(R5R6((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytmaximum_fill_values$cCs t|�r|j|�ndS(s,Set fill value of a if it is a masked array.N(t
isMaskedArraytset_fill_value(tat
fill_value((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR?�scCs!t|t�r|j�StSdS(s�Mask of values in a; could be nomask.
       Returns nomask if a is not a masked array.
       To get an array for sure use getmaskarray.N(R	R/traw_masktnomask(R@((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytgetmask�s
cCs0t|�}|tkr(tt|��S|SdS(s�Mask of values in a; an array of zeros if mask is nomask
     or not a masked array, and is a byte-sized integer.
     Do not try to add up entries, for example.
    N(RDRCtmake_mask_nonetshape(R@tm((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytgetmaskarray�scCs-y|jjtkSWntk
r(tSXdS(s;Is m a legal mask? Does not check contents, only type.
    N(R0ttypetMaskTypetAttributeErrortFalse(RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytis_mask�s
cCs�|tkrtSt|t�rp|jjtkr^|rUtj|dtd|�}qm|}q�|jt�}nt	|t
�jt�}|r�tjtj
|��r�tS|SdS(smake_mask(m, copy=0, flag=0)
       return m as a mask, creating a copy if necessary or requested.
       Can accept any sequence of integers or nomask. Does not check
       that contents must be 0s and 1s.
       if flag, return nomask if m contains no true elements.
    R0tcopyN(RCR	RR0RIRJR8tarraytastypetfilledtTruetfromnumerictsometruetravel(RGRNRtresult((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt	make_mask�s	cCs"tj|dt�}||_|S(s&Return a mask of all zeros of shape s.R0(R8tzerosRJRF(RRV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRE�s	cCs^|tkrt|�S|tkr,t|�S||krHt|�rH|Sttj||��S(s�Logical or of the mask candidates m1 and m2, treating nomask as false.
       Result may equal m1 or m2 if the other is nomask.
     (RCRWRMR2t
logical_or(tm1tm2((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytmask_or�s

cCsot|t�r|j|�St|t�r<|jdr<|St|tj�r^tj|d�Stj|�SdS(s�a as a contiguous numeric array with any masked areas replaced by value
    if value is None or the special element "masked", get_fill_value(a)
    is used instead.

    If a is already a contiguous numeric array, a itself is returned.

    filled(a) can be used to be sure that the result is numeric when
    passing an object a to other software ignorant of MA, in particular to
    numeric itself.
    t
CONTIGUOUStON(	R	R/RQRtflagsR%tDictTypeR8RO(R@tvalue((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRQ�s
cCs+t|�r|j�}nt|�}|S(sb
    The fill value of a, if it has one; otherwise, the default fill value
    for that type.
    (R>RAR7(R@RV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytget_fill_value�scCs,t|�}t|�}||kr(|SdS(s:The common fill_value of a and b, if there is one, or NoneN(RbR(R@tbtt1tt2((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytcommon_fill_value�s
tdomain_check_intervalcBs eZdZd�Zd�ZRS(s9domain_check_interval(a,b)(x) = true where x < a or y > bcCs||_||_dS(s9domain_check_interval(a,b)(x) = true where x < a or y > bN(ty1ty2(RRhRi((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
s	cCs.tjtj||j�tj||j��S(sExecute the call behavior.(R2RYtgreaterRitlessRh(RR6((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__call__s(RRRR
Rl(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRgs	t
domain_tancBs eZdZd�Zd�ZRS(s/domain_tan(eps) = true where abs(cos(x)) < eps)cCs
||_dS(s/domain_tan(eps) = true where abs(cos(x)) < eps)N(teps(RRn((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
scCs%tjtjtj|��|j�S(sExecute the call behavior.(R2RkR3tcosRn(RR6((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRls(RRRR
Rl(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRm
s	tdomain_greatercBs eZdZd�Zd�ZRS(s(domain_greater(v)(x) = true where x <= vcCs
||_dS(s(domain_greater(v)(x) = true where x <= vN(tcritical_value(RRq((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
scCstj||j�S(sExecute the call behavior.(R2t
less_equalRq(RR6((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRls(RRRR
Rl(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRps	tdomain_greater_equalcBs eZdZd�Zd�ZRS(s-domain_greater_equal(v)(x) = true where x < vcCs
||_dS(s-domain_greater_equal(v)(x) = true where x < vN(Rq(RRq((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
#scCstj||j�S(sExecute the call behavior.(R2RkRq(RR6((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRl's(RRRR
Rl(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRs!s	tmasked_unary_operationcBs)eZddd�Zd�Zd�ZRS(icCsl||_||_||_t|dt|��|_t|dt|��|_|t|<|ft|<dS(s� masked_unary_operation(aufunc, fill=0, domain=None)
            aufunc(fill) must be defined
            self(x) returns aufunc(x)
            with masked values where domain(x) is true or getmask(x) is true.
        RRN(	tftfilltdomaintgetattrRRRtufunc_domaintufunc_fills(RtaufuncRvRw((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
,s			
cOsjt|�}t||j�}|jdk	rHt||j|��}n|j|||�}t||�S(sExecute the call behavior.N(RDRQRvRwRR\Rutmasked_array(RR@RtkwargsRGtd1RV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRl:scCsdt|j�S(NsMasked version of (RRu(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRDsN(RRRR
RlR(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRt+s	
tdomain_safe_dividecBseZed�Zd�ZRS(cCs
||_dS(N(t	tolerance(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
IscCs#tj|�|jtj|�kS(N(R2R3R�(RR@Rc((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRlKs(RRtdivide_toleranceR
Rl(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRHstdomained_binary_operationcBs/eZdZddd�Zd�Zd�ZRS(s�Binary operations that have a domain, like divide. These are complicated
       so they are a separate class. They have no reduce, outer or accumulate.
    icCsx||_||_||_||_t|dt|��|_t|dt|��|_|t|<||ft	|<dS(sjabfunc(fillx, filly) must be defined.
           abfunc(x, filly) = x for all x to enable reduce.
        RRN(
RuRwtfillxtfillyRxRRRRyRz(RtabfuncRwR�R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
Rs				
c
Cs�t|�}t|�}t||j�}t||j�}|j||�}tj|d�r�t||j|�}t	||�}nt	||�}|j
||�}	t|	|�S(sExecute the call behavior.N(RDRQR�R�RwRSRTRtwhereR\RuR|(
RR@RctmatmbR~td2ttRGRV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRl_scCsdt|j�S(NsMasked version of (RRu(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRns(RRRR
RlR(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�Ns
	tmasked_binary_operationcBsMeZddd�Zd�Zddd�Zd�Zdd�Zd�ZRS(icCsT||_||_||_t|dt|��|_dt|<||ft|<dS(sjabfunc(fillx, filly) must be defined.
           abfunc(x, filly) = x for all x to enable reduce.
        RN(	RuR�R�RxRRRRyRz(RR�R�R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
rs			
c	Os�tt|�t|��}t||j�}t||j�}|j||||�}t|t�r�|jdkr�|j	|j	kr�tt
|�t
|��}nt||�S(sExecute the call behavior.i(R\RDRQR�R�RuR	RtndimRFRHR|(	RR@RcRR}RGR~R�RV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRl}scCst|�}t||j�}|jdkri|jd�}|tk	rit|dd�}d|_qin|tkr�|jj||�}nTt	||�}|jjt||j�|d|p�|j
�}tjj||�}t
|t�rt	||t|��S|rtS|SdS(s6Reduce target along the given axis with this function.iRNR0N((i(RDRQR�RFtreshapeRCRWRuRR|R0R2tlogical_andR	RRbtmasked(RttargettaxisR0RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�s$cCs�t|�}t|�}|tkr9|tkr9t}n*t|�}t|�}tj||�}|jjt||j�t||j��}t	||�S(s<Return the function applied to the outer product of a and b.(
RDRCRHRYtouterRuRQR�R�R|(RR@RcR�R�RGtd((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��s	-cCs+t||j�}t|jj||��S(s=Accumulate target along axis after filling with y fill value.(RQR�R|Rut
accumulate(RR�R�R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��scCsdt|j�S(NsMasked version of (RRu(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�sN(	RRR
RlRRR�R�R(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�qs		
gg�?g�gV瞯�<cCstjt|d�j��S(sSreturns the indices of the elements of a which are not zero
    and not masked
    i(R8tasarrayRQtnonzero(R@((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��sicCstjt|��S(N(RStrankRQ(tobject((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��scCstjt|��S(N(RSRFRQ(R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRF�scCstjt|�|�S(N(RStsizeRQ(R�R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��sR/cBseZdZdZd^eeed^d�Zd^d^d�Z	d^d�Z
d�Zd�Zd�Z
d�Zd	�Zd
�Zd�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZeZeZeZ d�Z!d�Z"d�Z#d�Z$e$Z%d�Z&d�Z'd�Z(d�Z)d �Z*d!�Z+d"�Z,e,Z-d#�Z.d$�Z/d%�Z0d&�Z1d'�Z2d(�Z3d^d)�Z4d*�Z5d+�Z6d,�Z7d-�Z8d.�Z9d/�Z:d0�Z;d1�Z<d2�Z=d3�Z>d4�Z?d5�Z@d6�ZAd7�ZBd^d8�ZCd9�ZDd:�ZEd^d;�ZFd<�ZGd=�ZHd>�ZId?�ZJd@�ZKdA�ZLdB�ZMdC�ZNeOdDeNdEdF�ZPdG�ZQeOdDeQdEdH�ZRdI�ZSd^dJ�ZTdK�ZUeOeUdEeVjWjXj�ZXdL�ZYeOdDeYdEdM�ZZdN�Z[eOdDe[dEdO�Z\dP�Z]dQ�Z^d^dR�Z_d^dS�Z`dT�ZadU�ZbdV�ZcdW�ZdeOeedEdX�ZeeOe
edEdY�ZfeOeedEdZ�ZgeOeedEd[�ZhehZieOecd^dEd\�ZjeOedd^dEd]�ZkRS(_s�Arrays with possibly masked values.
       Masked values of 1 exclude the corresponding element from
       any computation.

       Construction:
           x = array(data, dtype=None, copy=True, order=False,
                     mask = nomask, fill_value=None)

       If copy=False, every effort is made not to copy the data:
           If data is a MaskedArray, and argument mask=nomask,
           then the candidate data is data.data and the
           mask used is data.mask. If data is a numeric array,
           it is used as the candidate raw data.
           If dtype is not None and
           is != data.dtype.char then a data copy is required.
           Otherwise, the candidate is used.

       If a data copy is required, raw data stored is the result of:
       numeric.array(data, dtype=dtype.char, copy=copy)

       If mask is nomask there are no masked values. Otherwise mask must
       be convertible to an array of booleans with the same shape as x.

       fill_value is used to fill in masked values when necessary,
       such as when printing and in method/function filled().
       The fill_value is not used for computation within this module.
    g333333$@cCs�|dkrd}ntj|�}|}t|t�r�|j}	|dkrZ|	j}n||	jkrrt}n|tkr�|j}q|tk	rt}qnxt|t	�r�|}	|dkr�|	j}q||	jkrt}qn0t
}tj|d|dtd|�}	|	j}|rk||	jkrVtj|	d|dtd|�|_qt|	j
|�|_n	|	|_|tkr�t|_d|_n3t|�|_|jtkr�d|_n	|j|k|_t|j�}
t|j�}|
|kr|
dkr1tj|j|jj�|_d|_q�|dkrptj|j|jj�|_|jj|j_q�td��nI|
dkr�t|j�t|j�kr�|j�|jj|j_n|j|�dS(s�array(data, dtype=None, copy=True, order=False, mask=nomask, fill_value=None)
           If data already a numeric array, its dtype becomes the default value of dtype.
        R0RNtorderiisMask and data not compatible.N(RR8R0R	R/tdataRRRCtmaskRRLROt_dataRPt_maskt_shared_maskRWR�RStresizeRFRtunshare_maskR?(RR�R0RNR�R�RAttctneed_data_copiedtctnmtnd((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
sb			!	'		*
cCs�|jtk	r�tj|j�j�r�|dkrGtjd�|jS|\}}}t	j
|�}|dkr�td|��n|j||�Sq�t|_d|_
n|r�|jj|�S|jSdS(s:Special hook for numeric. Converts to numeric if possible.siCannot automatically convert masked array to numeric because data
    is masked in one or more locations.s%s not known to maiN(R�RCRSRUtanyRtwarningstwarnR�RztgetRRQR�RP(RR�tcontexttfuncRtitfills((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt	__array__`s
	c		Cs'|dkr"t|dtdt�S|d \}}t|}ttg|D]}t|�^qI�}|dk	r�t||g|D]}t|d|�^q���}n|tk	ry
|j	}Wnt
k
r�qX|j	|krttg|D]}t|�^q��}qnt|dtd|�S(spSpecial hook for ufuncs.

        Wraps the numpy array and sets the mask according to
        context.
        RNR�iR�N(RR/RLRCRyRR\RDRxRFRKRH(	RROR�R�RRwR@RGRF((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__array_wrap__|s 
(+

.cCs
|jjS(sReturn the current shape.(R�RF(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt
_get_shape�scCs@||j_|jtk	r<|jj�|_||j_ndS(sSet the array's shape.N(R�RFR�RCRN(Rtnewshape((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt
_set_shape�scCsf|jtkr4t|jj�dtd|j��St|jj�d|jj�d|j��SdS(s"Calculate the flat value.
        R�RAN(R�RCR|R�RURA(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt	_get_flat�s
cCs|j�}||(dS(sx.flat = valueN(RU(RRaty((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt	_set_flat�scCsZ|jtkr1t|jjdtd|j��St|jjd|jd|j��SdS(s%Get the real part of a complex array.R�RAN(R�RCR|R�trealRA(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt	_get_real�s

cCs|j}||d<dS(sx.real = value.N(R�(RRaR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt	_set_real�s	cCsZ|jtkr1t|jjdtd|j��St|jjd|jd|j��SdS(s*Get the imaginary part of a complex array.R�RAN(R�RCR|R�timagRA(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_get_imaginary�s

cCs|j}||d<dS(sx.imaginary = value.N(t	imaginary(RRaR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_set_imaginary�s	cCs�tj�rnt}|tkr(t|�S|j}|tk	r\|jdkr\|r\t|�S|jt�}n|j	�}|j
|�}t|�S(s}Calculate the str representation, using masked for fill if
           it is enabled. Otherwise fill with fill value.
        ((tmasked_print_optionRR�RR�RCRFRPR�RARQ(RRuRGtres((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�s
	!
cCsrd}d}d}d}t|j�}|jtkrx|dkr]|it|j��d6S|it|j��d6S|dkr�|it|j��d6t|j�d6t|j��d6S|it|j��d6t|j�d6t|j��d6Sd}|jtkr0|it|j��d6S|it|j��d6t|j�d6t|j��d6Sd	S(
s~Calculate the repr representation, using masked for fill if
           it is enabled. Otherwise fill with fill value.
        sKarray(data =
 %(data)s,
      mask =
 %(mask)s,
      fill_value=%(fill)s)
sIarray(data = %(data)s,
      mask = %(mask)s,
      fill_value=%(fill)s)
sarray(
 %(data)s)sarray(%(data)s)iR�R�RvN(tlenRFR�RCRRQRA(Rt	with_maskt
with_mask1twithout_maskt
without_mask1tn((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�s2
cCs;|j�|jtk	r(td��nt|jj��S(sConvert self to float.s0Cannot convert masked element to a Python float.(tunmaskR�RCRtfloatR�titem(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt	__float__s
cCs;|j�|jtk	r(td��nt|jj��S(sConvert self to int.s.Cannot convert masked element to a Python int.(R�R�RCRtintR�R�(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__int__s
cCs�|j�|j}|j|}|tkrny*|jdkrB|St|d|j�SWqntk
rj|SXn||}|jdkr�|r�tS|Snt||d|j�SdS(s<Get item described by i. Not a copy as in previous versions.iRAN(	R�R�R�RCR�R|t_fill_valueRKR�(RR�RGtdouttmi((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__getitem__s 
	


cCs&|j}|tkr$td��n|tkrx|jtkr]t|j�|_t|_n
|j	�t
|j|<dSt|�}t|�j
|j�}|||<|tkr�|jtk	r"|j	�t|j|<q"nD|jtkrt|j�|_t
|_n
|j	�||j|<dS(sFSet item described by index. If value is masked, mask those locations.sCannot alter masked elements.N(R�R�RR�RCRERFRLR�R�RRRDRQRPR0(RtindexRaR�RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__setitem__:s,	




cCsF|j}|j}t|tk	r-|j�pB|tk	oB|j��S(s;returns true if any element is non-zero or masked

        (R�R�tboolRCR�(RRGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__nonzero__Vs		cCs
t|j�S(seReturn length of first dimension. This is weird but Python's
         slicing behavior depends on it.(R�R�(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__len__bscCs
t||�S(sReturn bitwise_and(tbitwise_and(Rtother((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__and__gscCs
t||�S(sReturn bitwise_or(t
bitwise_or(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__or__kscCs
t||�S(sReturn bitwise_xor(tbitwise_xor(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__xor__oscCs
t|�S(sReturn absolute(self)(R3(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__abs__wscCs
t|�S(sReturn negative(self)(tnegative(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__neg__{scCs
t|�S(sReturn array(self)(RO(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__pos__scCs
t||�S(sReturn add(self, other)(tadd(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__add__�scCs
t||�S(sReturn remainder(self, other)(t	remainder(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__mod__�scCs
t||�S(sReturn remainder(other, self)(R�(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__rmod__�scCs
t||�S(N(t
left_shift(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt
__lshift__�scCs
t||�S(N(tright_shift(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt
__rshift__�scCs
t||�S(sReturn subtract(self, other)(tsubtract(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__sub__�scCs
t||�S(sReturn subtract(other, self)(R�(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__rsub__�scCs
t||�S(sReturn multiply(self, other)(tmultiply(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__mul__�scCs
t||�S(sReturn divide(self, other)(tdivide(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__div__�scCs
t||�S(sReturn divide(other, self)(R�(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__rdiv__�scCs
t||�S(sReturn divide(self, other)(ttrue_divide(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__truediv__�scCs
t||�S(sReturn divide(other, self)(R�(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__rtruediv__�scCs
t||�S(sReturn divide(self, other)(tfloor_divide(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__floordiv__�scCs
t||�S(sReturn divide(other, self)(R�(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt
__rfloordiv__�scCst|||�S(s Return power(self, other, third)(tpower(RR�tthird((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__pow__�scCs
t|�S(sReturn sqrt(self)(tsqrt(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__sqrt__�scCs�|jjj}t|d�}|jj}||kr9n5|tdkrz|tdkrk|j|�}qntd��n�|tdkr�|tdkr�|j|�}qn|tdkr�|j|�}qntd��n�|tdkrb|tdkr|j|�}qn|tdkr1|j|�}qn|tdkrS|j|�}qntd��ntd��|jtkr�|j|7_t	|�}||_|tk	|_
nBt|t|dt	|���}|j
|_|j|_d|_
|S(sAdd other to self in place.iR!s&Incorrect type for in-place operation.R R"R�i(R�R0R1RQRRPR;R�RCRDR�R�R|R�R�(RR�R�RuRdRGRV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__iadd__�sD	!	cCs�|jjj}t|d�}|jj}||kr9n5|tdkrz|tdkrk|j|�}qntd��n�|tdkr�|tdkr�|j|�}qn|tdkr�|j|�}qntd��n�|tdkrb|tdkr|j|�}qn|tdkr1|j|�}qn|tdkrS|j|�}qntd��ntd��|jtkr�|j|9_t	|�}||_|tk	|_
nBt|t|dt	|���}|j
|_|j|_d|_
|S(sAdd other to self in place.iR!s&Incorrect type for in-place operation.R R"R�i(R�R0R1RQRRPR;R�RCRDR�R�R|R�R�(RR�R�RuRdRGRV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__imul__�sD	!	cCs�|jjj}t|d�}|jj}||kr9n5|tdkrz|tdkrk|j|�}qntd��n�|tdkr�|tdkr�|j|�}qn|tdkr�|j|�}qntd��n�|tdkrb|tdkr|j|�}qn|tdkr1|j|�}qn|tdkrS|j|�}qntd��ntd��|jtkr�|j|8_t	|�}||_|tk	|_
nBt|t|dt	|���}|j
|_|j|_d|_
|S(s"Subtract other from self in place.iR!s&Incorrect type for in-place operation.R R"R�i(R�R0R1RQRRPR;R�RCRDR�R�R|R�R�(RR�R�RuRdRGRV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__isub__sD	!	cCs�|jjj}t|d�}|jj}||kr9n5|tdkrz|tdkrk|j|�}qntd��n�|tdkr�|tdkr�|j|�}qn|tdkr�|j|�}qntd��n�|tdkrb|tdkr|j|�}qn|tdkr1|j|�}qn|tdkrS|j|�}qntd��ntd��t|�}t|t	|d|��}|j
|_|j�}||jk	r�||_d|_
n|S(sDivide self by other in place.iR!s&Incorrect type for in-place operation.R R"R�i(R�R0R1RQRRPR;RDR�R|R�RBR�R�(RR�R�RuRdtmoRVtdm((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__idiv__Hs@	cCs
t||�S(N(tequal(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__eq__oscCs
t||�S(N(t	not_equal(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__ne__rscCs
t||�S(N(Rk(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__lt__uscCs
t||�S(N(Rr(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__le__xscCs
t||�S(N(Rj(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__gt__{scCs
t||�S(N(t
greater_equal(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt__ge__~scCs%|jj|�}t|d|j�S(s#return self as array of given type.R�(R�RPROR�(RR�R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRP�scCs
|jj�S(s�Returns the raw data field, byte_swapped. Included for consistency
         with numeric but doesn't make sense in this context.
        (R�tbyte_swapped(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�scCsgtj|j�}|jtkr+t|�Sdtj|j�}tj||�}t|dd�SdS(s'A 1-D array of all the non-masked data.iRNiN(RSRUR�R�RCROtcompress(RR�RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt
compressed�s
c
Cs1|j}|jj}t|�}|tkr�|dkr=dS|dkrQ|dS|dkrmtd�|�S||}t|�}||=t|�|Sn|dkr�t	j
|�jt�}t
|�}|dkr�|d}	ntjj|�}	||	St
||�}t|jt�|�}	||	SdS(s?Count of the non-masked elements in a, or along a certain axis.iicSs||S(N((R6R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt<lambda>�sN(R�R�RFR�RCRRtlisttonesRSRURPR�R�R2R�tsum(
RR�RGRtlsR�R�twtn1tn2((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytcount�s0	

cCs
t||�S(s%s.dot(other) = innerproduct(s, other)(tinnerproduct(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytdot�scCs|jS(sGet the current fill value.(R�(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRA�scCs|j}|j}|tkr<|jdr/|S|j�Sn�|dkrT|j}n|}|tkrxtj	|�}n�y,tj	|d|j
dd�}|||<WnSttfk
r�tj	|dt
�}|jt
�}tj|||f�}nX|SdS(sA numeric array with masked values filled. If fill_value is None,
           use self.fill_value().

           If mask is nomask, copy data only if not contiguous.
           Result is always a contiguous, numeric array.
# Is contiguous really necessary now?
        R]R0RNiN(R�R�RCR_RNRR�R�R8ROR0R;RKR�RPRStchoose(RRAR�RGRaRV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRQ�s&		

cCst|j�t|j�fS(s)Return the ids of the data and mask areas(tidR�R�(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytids�scCs|jjdS(sIs the data contiguous?R](R�R_(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytiscontiguous�scCs
|jjS(sItem size of each data item.(R�titemsize(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�scCs
t||�S(s's.outer(other) = outerproduct(s, other)(touterproduct(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��scCsltj|j�}|j}|jtkr3|}ntjd|j|�}t|�j	|j
�||<dS(s[Set the non-masked entries of self to filled(values).
           No change to mask
        iN(R8tarangeR�R�R�RCRSRRQRPR0(RtvaluestiotaR�tind((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytput�s		cCsP|j}|jtk	rLt|�j|j�||j<d|_t|_ndS(s]Set the masked entries of self to filled(values).
           Mask changed to nomask.
        iN(R�R�RCRQRPR0R�(RR R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytputmask�s
		cCsE|jtkr"t|jj��St|jj�|jj��SdS(sReturn a 1-D view of self.N(R�RCR|R�RU(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRUscCs|jS(s� Obsolete; use data property instead.
            The raw data; portions may be meaningless.
            May be noncontiguous. Expert use only.(R�(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytraw_datastfgettdocs9The data, but values at masked locations are meaningless.cCs|jS(sa Obsolete; use mask property instead.
            May be noncontiguous. Expert use only.
        (R�(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRBss@The mask, may be nomask. Values where mask true are meaningless.cGsJ|jj|�}|jtkr+t|�S|jj|�}t||�S(sThis array reshaped to shape s(R�R�R�RCR|(RRR�RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�s

cCs.|dkr!t|j��}n||_dS(s3Set the fill value to v. Omit v to restore default.N(RR7R%R�(Rtv((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR?%scCs
|jjS(N(R�R�(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt	_get_ndim+scCs
|jjS(N(R�R�(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt	_get_size/ss Number of elements in the array.cCs
|jjS(N(R�R0(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt
_get_dtype4sstype of the array elements.cGs[|jtk	rK|jj|�}y|dr2tSWqKtk
rGtSXn|jj|�S(s Return Python scalar if possiblei(R�RCR�R�t
IndexErrorR�(RRRG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�8s

cGs"|d}|d }|||<dS(sSet Python scalar into arrayi����N((RRR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytitemsetCs

cCs|j|�j�S(sConvert to list(RQttolist(RRA((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR.IscCs|j|�j�S(sConvert to string(RQttostring(RRA((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR/MscCsM|jtkrdSt|jdd�}|tkrIt|_d|_ndS(s'Replace the mask by nomask if possible.NRii(R�RCRWR�(RRG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�Qs	cCs7|jr3t|jdddd�|_d|_ndS(s'If currently sharing mask, make a copy.RNiRiN(R�RWR�(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�Ys	cCs
|jjS(N(R�tctypes(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_get_ctypes_scCs|jdkr|S|j�S(Ni(R�t	transpose(R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_get_Tbss#tuple giving the shape of the arraysAccess array in flat form.s!Access the real part of the arrays&Access the imaginary part of the arrayR0s
get transposeN(lRRRt__array_priority__RRRRLRCR
R�R�R�R�R�R�R�R�R�R�RRR�R�R�R�R�R�R�R�R�t__rand__t__ror__t__rxor__R�R�R�R�t__radd__R�R�R�R�R�R�R�t__rmul__R�R�R�R�R�R�R�R�R�R�R�RRRRRRR
RPRR
RRRARQRRRR�R#R$RUR%tpropertyR�RBR�R�R?R)R8RR�R*R�R+R0R�R-R.R/R�R�R1R3RFtflatR�R�R�R0tT(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR/s�	A												/																												+	+	-	'									
		"						
																				cCs
t|t�S(s9Is x a masked array, that is, an instance of MaskedArray?(R	R/(R6((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR>}sg�h㈵��>g:�0�yE>cCs�tt|�t|��}t|�}t|�}tt|ddd|�|�jt�}tt|ddd|�d�jt�}	tjtj||	�||tj|	��}
t	j
t	j|
��S(s� Returns true if all components of a and b are equal
        subject to given tolerances.
        If fill_value is 1, masked values considered equal.
        If fill_value is 0, masked values considered unequal.
        The relative error rtol should be positive and << 1.0
        The absolute error atol comes into play for those elements
        of b that are very small or zero; it says how small a must be also.
    RNiR�i(R\RDRQRORPR�R2RrR3RStalltrueRU(R@RcRAtrtoltatolRGR~R�R6R�R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytallclose�s	**0cCs�tt|�t|��}|tkrgt|�}t|�}tj||�}tjtj|��S|r�t|�}t|�}tj||�}t	|d|dd�}tjtjt|d���SdSdS(s�
        True if all entries of  a and b are equal, using
        fill_value as a truth value where either or both are masked.
    R�RNiiN(
R\RDRCRQR2RRSR=RURO(R@RcRARGR6R�R�R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytallequal�scCs�tj}t||�}t|jjtj�r�tj|||�||||��}t	|dd�}t
|d|d|d|�St||d|�SdS(s�
       masked_values(data, value, rtol=1.e-5, atol=1.e-8)
       Create a masked array; mask is nomask if possible.
       If copy==0, and otherwise possible, result
       may share data values with original array.
       Let d = filled(data, value). Returns d
       masked where abs(data-value)<= atol + rtol * abs(value)
       if d is of a floating point type. Otherwise returns
       masked_object(d, value, copy)
    RiR�RNRAN(R2R3RQt
issubclassR0RIR8tfloatingRrRWROt
masked_object(R�RaR>R?RNtabsR�RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt
masked_values�s	*cCsIt||�}ttj||�dd�}t|d|d|d|�S(s5Create array masked where exactly data equal to valueRiR�RNRA(RQRWR2RRO(R�RaRNR�R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRD�scCsttj||||��S(soJust like range() except it returns a array whose type can be specified
    by the keyword argument dtype.
    (ROR8R(tstarttstoptstepR0((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�scCsttj||��S(sAConstruct a masked array from a string. Result will have no mask.(R|R8t
fromstring(RR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRJ�scCsft|�}|tkr:tjt|�|�}t|�Stjt|d�|�}t||�SdS(sLeft shift n bitsiN(RDRCR2R�RQR|(R@R�RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��s
cCsft|�}|tkr:tjt|�|�}t|�Stjt|d�|�}t||�SdS(sRight shift n bitsiN(RDRCR2R�RQR|(R@R�RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��s
cCsht|�}|tk	r-tj||�}nttjt|�|�d|�}|jt|��|S(swresize(a, new_shape) returns a new array with the specified shape.
    The original array's total size can be any size.R�(RDRCRSR�RORQR?Rb(R@t	new_shapeRGRV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��s$cCs�t|�}t|tj�rY|dkr6|j}n
|j|}t|g|�}nt|�}|t	k	r�t
j|||�}nt
j|||�}t||�}|j
t|��|S(s�repeat elements of a repeats times along axis
       repeats is a sequence of length a.shape[axis]
       telling how many times to repeat each element.
    N(RQR	R%R(RR�RFR
RDRCRStrepeatR|R?Rb(R@trepeatsR�taftnumRGR�RV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt
new_repeat�s
cCsttj|��S(s<identity(n) returns the identity matrix of shape n x n.
    (ROR8tidentity(R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRQscCsttj||��S(s�indices(dimensions,dtype=None) returns an array representing a grid
    of indices with row-only, and column-only variation.
    (ROR8tindices(t
dimensionsR0((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRR
scCsttj||��S(sPzeros(n, dtype=float) =
     an array of all zeros of the given length or shape.(ROR8RX(RFR0((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRXscCsttj||��S(sNones(n, dtype=float) =
     an array of all ones of the given length or shape.(ROR8R(RFR0((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRscCst|�}|j|�S(s?Count of the non-masked elements in a, or along a certain axis.(R|R(R@R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRsc	Cs|dk	rtd��nt|�}t|�}t||�}t|d�}t|d�}|jjtdkr�tt	j
||�|�Stt	j|d�dd�}t||�}|t
kr�tt	j
||��Stj|d|�}tt	j
||�|�SdS(sa**bs3-argument power not supported.iR!iRN(RRRDR\RQR0R1RR|R2R�RWRkRCR8R�(	R@RcR�R�R�RGtfatfbtmd((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�scCst|d|ddd|�S(s]masked_array(a, mask=nomask) =
       array(a, mask=mask, copy=0, fill_value=fill_value)
    R�RNiRA(RO(R@R�RA((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR|2scCs4|dkr!t|�}d}ntj|||�S(Ni(RRUR�R(R�R�R0((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR8s	cCs4|dkr!t|�}d}ntj|||�S(Ni(RRUR�R(R�R�R0((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytproduct>s	cCs�t|�}|j}|j}|d
kr3d}n|dkr||tkr�|dkr�tj|j�j��}td�|d�}qyt	|d�j�}t
jj|j�j�|�}t
jj|�}~q;|dkr*tj|j��}tj|d�j�}t
jj|�}~q;t
t	|d�td|�j�}tj|j�|�}tj|�}~n�|tkr�|dkr�||d}t
jj|j�|�}q;t	|d�}|j}	|	dkr�d}	n|	|kr?tj
|tdd�}tj|||�}tj||�}~q;|	||fkr�tgt|�}
tddd�|
|<tdtt|
��d	�}tj|||�}tj||�}~~
q;td
��n`|dkr&tj||�}tj|d�}t
jj||�}~nt	|d�}|j}	|	dkrSd}	n|	|kr�t
|td|dd�}tj|||�}tj||�}n�|	||fkr,tgt|�}
tddd�|
|<tdtt|
��d�}tj|||�}tj||�}ntd
��~|tksS|tkrWtSt||�}~t|t�r�|j�|r�t|t�s�t|�}n|j|jks�t|jt�|}n|j�q�n|r�||fS|SdS(sRaverage(a, axis=None, weights=None)
       Computes average along indicated axis.
       If axis is None, average over the entire array
       Inputs can be integer or floating types; result is of type float.

       If weights are given, result is sum(a*weights,axis=0)/(sum(weights,axis=0)*1.0)
       weights must have a's shape or be the 1-d with length the size
       of a in the given axis.

       If returned, return a tuple: the result and the sum of the weights
       or count of values. Results will have the same shape.

       masked values in the weights will be set to 0.0
    icSs||S(N((R6R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR\sg�?gR�RNisw[s] * ones(ash, float)saverage: weights wrong shape.s(] * masked_array(ones(ash, float), mask)N((i(g�?g((i(g�?g((i(R|R�RFRRCR�RR%RURQR2RSRROR�R8RR�tslicetevaltreprR
t
ValueErrorR�R�R	R/R�R(R@R�tweightstreturnedR�tashR�R�RtwshtrRV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytnew_averageDs�			"$		 			 

cCs�tt|d�d�}t|�}t|�}t|�}t|�}tj|||f�}tj|||f�}	t|�}
tt|
|	�dddd�}
t||
�S(swhere(condition, x, y) is x where condition is nonzero, y otherwise.
       condition must be convertible to an integer array.
       Answer is always the shape of condition.
       The type depends on x and y. It is integer if both x and y are
       the value masked.
    iRNRi(RQRRDR8RRWR\R|(t	conditionR6R�tfctxvtxmtyvtymR�RVRG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��s!traisecCs�d�}d�}t|d�}g|D]}||�^q(}g|D]}||�^qG}	tj||	�}
tj||�}tt|t|��dddd�}t|
|�S(s=Returns array shaped like indices with elements chosen from tcSs|tkrdSt|�S(Ni(R�RQ(R6((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytfmask�scSs0|tkrdSt|�}|tkr,dS|S(Nii(R�RDRC(R6RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytnmask�siRNRi(RQR8RRWR\RDR|(RRR�touttmodeRiRjR�R6tmasksR@R�RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�s		'cCs@t|d�}tt|�|�}tt|�d|d|�S(siReturn x as an array masked where condition is true.
       Also masked where x or condition masked.
    iRNR�(RQR\RDRO(RbR6RNtcmRG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytmasked_where�scCstt||�||�S(s3masked_greater(x, value) = x masked where x > value(RoRj(R6RaRN((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytmasked_greater�scCstt||�||�S(s:masked_greater_equal(x, value) = x masked where x >= value(RoR	(R6RaRN((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytmasked_greater_equal�scCstt||�||�S(s0masked_less(x, value) = x masked where x < value(RoRk(R6RaRN((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytmasked_less�scCstt||�||�S(s7masked_less_equal(x, value) = x masked where x <= value(RoRr(R6RaRN((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytmasked_less_equal�scCsLt|d�}tj||�}t|t|��}t|d|d|�S(s6masked_not_equal(x, value) = x masked where x != valueiR�RN(RQR2RR\RDRO(R6RaRNR�R�RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytmasked_not_equal�scCsLt|d�}tj||�}t|t|��}t|d|d|�S(s{masked_equal(x, value) = x masked where x == value
       For floating point consider masked_values(x, value) instead.
    iR�RN(RQR2RR\RDRO(R6RaRNR�R�RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytmasked_equal�scCs�||kr!|}|}|}nt|d�}tjtj||�tj||��}t|t|��}t|d|d|�S(sjx with mask of all values of x that are inside [v1,v2]
       v1 and v2 can be given in either order.
    iR�RN(RQR2R�RrR	R\RDRO(R6tv1tv2RNR�R�R�RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt
masked_inside�s	*cCs�||kr!|}|}|}nt|d�}tjtj||�tj||��}t|t|��}t|d|d|�S(skx with mask of all values of x that are outside [v1,v2]
       v1 and v2 can be given in either order.
    iR�RN(RQR2RYRkRjR\RDRO(R6RvRwRNR�R�R�RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytmasked_outsides	*cGsWt|�}t|�j|�}|tkr7t|�St|dtj||��SdS(sCopy of a with a new shape.R�N(RDRQR�RCR|R8(R@R�RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�s

cCsTt|�}tjt|��}|tkr7t|�St|dtj|��SdS(s-a as one-dimensional, may share data and maskR�N(RDRSRURQRCR|R8(R@RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRUs

cCs�g}x!|D]}|jt|��q
Wtj||�}x.|D]}t|�tk	rCPqCqCWt|�Sg}x!|D]}|jt|��qzWtj||�}t|d|�S(s+Concatenate the arrays along the given axisR�(tappendRQR8tconcatenateRDRCR|RH(tarraysR�R�R6R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR{'s



cCsxt|�}t|�j}|tkrCtdtj|||��Stdtj|||�dtj|||��SdS(NR�R�(RDR|R�RCR8tswapaxes(R@taxis1taxis2RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR}7scCsrt|�}t|�j}|tkr@ttj|||��Sttj|||�dtj|||��SdS(s"returns selection of items from a.R�N(RDR|R�RCR8ttake(R@RRR�RkRlRGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytnew_takeAscCsft|�}t|�}|tkr:ttj||��Sttj||�dtj||��SdS(s!reorder dimensions per tuple axesR�N(RDRQRCR|R8R2(R@taxesRGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR2LscCsy|j�}t|�}t|�}tj|||�t|�}|tk	ru|j�tj|j�|d�ndS(snsets storage-indexed locations to corresponding values.

    Values and indices are filled if necessary.

    iN(R%RQR8R#RDRCR�RB(R@RRR RlR�R"R(RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR#Ws
cCsl|tkrdStj|j�||�t|�}|tkrEdS|j�tj|j�|d�dS(s3putmask(a, mask, values) sets a where mask is true.Ni(RCR8R$R%RDR�RB(R@R�R RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR$fs
cCsvt|d�}t|d�}t|j�dkr?d|_nt|j�dkr`d|_nttj||��S(s�inner(a,b) returns the dot product of two arrays, which has
    shape a.shape[:-1] + b.shape[:-1] with elements computed by summing the
    product of the elements from the last dimensions of a and b.
    Masked elements are replace by zeros.
    ii(i(i(RQR�RFR|R8tinner(R@RcRTRU((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�pscCs�t|d�j�}t|d�j�}tj||�}t|�}t|�}|tkrv|tkrvt|�St|�}t|�}tdtjd|d|�dd�}t||�S(s3outer(a,b) = {a[i]*b[j]}, has shape (len(a),len(b))iiRN(	RQRUR8R�RDRCR|RHRW(R@RcRTRUR�R�R�RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�~s
*cCs.tt|d�tjt|d�dd��S(s�dot(a,b) returns matrix-multiplication between a and b.  The product-sum
    is over the last dimension of a and the second-to-last dimension of b.
    Masked values are replaced by zeros. See also innerproduct.
    ii����i����(RRQR8R}(R@Rc((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�scCsgt|d�}t|�}|tk	r?tj|||�}ntj|t|�|�}t||�S(sqSelect those parts of x for which condition is true.
       Masked values in condition are considered false.
    i(RQRDRCR8RR|(RbR6t	dimensionRkR�RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�st_minimum_operationcBs8eZdZd�Zdd�Zdd�Zd�ZRS(sObject to calculate minimacCsdS(s`minimum(a, b) or minimum(a)
           In one argument case returns the scalar minimum.
        N((R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
�scCs�|dkrut|�}|tkr@tt|�j��}|S|j�}t|�dkrbtSt|j	��Snt
t||�||�SdS(sExecute the call behavior.iN(RRDRCRRQRUR
R�R�R%R�Rk(RR@RcRGR�tac((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRl�sicCs�t|�}|tkr=t|�}ttjj||��Stjjt|t|��|�}tjj||�}t||t	|��SdS(s#Reduce target along the given axis.N(
RDRCRQR|R2tminimumRR<R�Rb(RR�R�RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�s$cCs�t|�}t|�}|tkr9|tkr9t}n*t|�}t|�}tj||�}tjjt|�t|��}t||�S(s<Return the function applied to the outer product of a and b.(	RDRCRHRYR�R2R�RQR|(RR@RcR�R�RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��s	!N(RRRR
RRlRR�(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��s
	t_maximum_operationcBs8eZdZd�Zdd�Zdd�Zd�ZRS(sObject to calculate maximacCsdS(s`maximum(a, b) or maximum(a)
           In one argument case returns the scalar maximum.
        N((R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR
�scCs�|dkrut|�}|tkr@tt|�j��}|S|j�}t|�dkrbtSt|j	��Snt
t||�||�SdS(sExecute the call behavior.iN(RRDRCRRQRUR
R�R�R%R�Rj(RR@RcRGR�R�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRl�sicCs�t|�}|tkr=t|�}ttjj||��Stjjt|t|��|�}tjj||�}t||t	|��SdS(s#Reduce target along the given axis.N(
RDRCRQR|R2tmaximumRR=R�Rb(RR�R�RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�s$cCs�t|�}t|�}|tkr9|tkr9t}n*t|�}t|�}tj||�}tjjt|�t|��}t||�S(s<Return the function applied to the outer product of a and b.(	RDRCRHRYR�R2R�RQR|(RR@RcR�R�RGR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��s	!N(RRRR
RRlRR�(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��s
	cCsk|dkrt|�}nt||�}tj||�}t|�tkrXt|�St||dd�S(s�If x does not have a mask, return a masked array formed from the
       result of numeric.sort(x, axis).
       Otherwise, fill x with fill_value. Sort it.
       Set a mask where the result is equal to fill_value.
       Note that this may have unintended consequences if the data contains the
       fill value at a non-masked site.

       If fill_value is not given the default fill value for x's type will be
       used.
    RNiN(	RR7RQRStsortRDRCR|RF(R6R�RAR�R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�s
cCsftjt|�|||�}t|�}|tkrCt||�St|tj||||��SdS(s9diagonal(a,k=0,axis1=0, axis2=1) = the k'th diagonal of aN(RStdiagonalRQRDRCR|(R@tkR~RR�RG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�s

cCst||||�jd|�S(s~trace(a,offset=0, axis1=0, axis2=1) returns the sum along diagonals
    (defined by the last two dimenions) of the array.
    R0(R�R(R@toffsetR~RR0Rk((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyttracescCst||�}tj||�S(s�Treating masked values as if they have the value fill_value,
       return sort indices for sorting along given axis.
       if fill_value is None, use get_fill_value(x)
       Returns a numpy array.
    (RQRStargsort(R6R�RkRAR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�$scCst||�}tj||�S(sTreating masked values as if they have the value fill_value,
       return indices for minimum values along given axis.
       if fill_value is None, use get_fill_value(x).
       Returns a numpy array if x has more than one dimension.
       Otherwise, returns a scalar index.
    (RQRStargmin(R6R�RkRAR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�-scCsO|dkr0t|�}y|}Wq0q0Xnt||�}tj||�S(s&Treating masked values as if they have the value fill_value,
       return sort indices for maximum along given axis.
       if fill_value is None, use -get_fill_value(x) if it exists.
       Returns a numpy array if x has more than one dimension.
       Otherwise, returns a scalar index.
    N(RR7RQRStargmax(R6R�RkRAR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�7scCsttj||��S(s)apply f to s to create array as in umath.(R|R8tfromfunction(RuR((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�GscCsDt|t�r.|dks*||jkr.|St|d|dd�S(s6asarray(data, dtype) = array(data, dtype, copy=0)
    R0RNiN(R	R/RR0RO(R�R0((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR�Ks(t
MethodTypecCst|dt�S(N(R�RRO(Ru((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_mWscOstd��dS(Ns'not yet implemented for numpy.ma arrays(tNotImplementedError(Rtkwds((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytnot_implementedYscOs
t||�S(N(R(RRR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_choosecsc
CsUtd|jjt|�jt|�j�dt|jtt|�t|����S(NR�R�(R/R�tclipR�R\R�RD(Rta_minta_maxRk((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_cliphs	cCst|||�S(N(R(RtcondR�Rk((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt	_compressoscCsX|j}|tk	r0tjj|j|�}ntd|jd�j||�d|�S(NR�iR�(R�RCR2RYR�R/RQtcumprod(RR�R0RkRG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_cumprodws	cCsX|j}|tk	r0tjj|j|�}ntd|jd�j||�d|�S(NR�iR�(R�RCR2RYR�R/RQtcumsum(RR�R0RkRG((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_cumsum~s	cCsE|dk	rtd��n|dkr1t|�Stj||�SdS(Ns+Output arrays Unsupported for masked arrays(RR;R�R(R@R�Rk((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_max�s

cCsE|dk	rtd��n|dkr1t|�Stj||�SdS(Ns+Output arrays Unsupported for masked arrays(RR;R�R(R@R�Rk((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_min�s

cCs|j||�|j|�S(N(tmaxtmin(R@R�Rk((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_ptp�scCsRy+td|jj�d|jj��}Wn tk
rMt|d�}nX|S(NR�R�tsqueeze(R/R�R�R�RKt_wrapit(RRV((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_squeeze�s
cCs1td|jj||�d|jj||��S(NR�R�(R/R�R}R�(RR~R((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt	_swapaxes�scCs�|dkr%tj|j��j�S|j|d�}||jdd�}||9}||jdd�:}|jd|�j|�S(NiR�(	RR8R�R
tvarR}tmeanRR(RR�R0RkR@((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_var�s
cCs|j||�dS(Ng�?(R�(RR�R0Rk((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt_std�sR�cCst|||�S(N(RP(R@RMR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyRL�scCst||||�S(N(Ra(R@R�R\R]((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pytaverage�scCst|||�S(N(R�(R@RRR�((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyR��s(�RR%R9tnumpy.core.umathtcoreR2tnumpy.core.fromnumericRStnumpy.core.numericRRRRRtnumpy.core.numerictypesRRR8R�tversion_infot	functoolsRRyRzRJRCR�t	ExceptionRRR�R'R.R,R*R4R7R<R=R?RDRHRMRWRER\RRQRbRfRgRmRpRsRtRR�R�R�tlogtlog10texpt	conjugatetsinRottantarcsintarccostarctantarcsinhtarccoshtarctanhtsinhtcoshttanhR3tfabsR�R�tround_taroundtfloortceiltlogical_notR�R�R�R�R�R�R�tfmodthypottarctan2RRRrR	RkRjR�R=RYRTtlogical_xorR�R�R�R�RFR�R�R/ROR>tisarraytisMAR@RARFRDRt
arrayrangeRJR�R�R�RPRQRRR�RXRRR�R|RRWRaR�RRoRpRqRrRsRtRuRxRyR�RUR{R}R�R2R#R$R�RR�RRRR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�tallR�R:tbasetbyteswapR�R�R�R�tconjRNR�R�R�R�tdumptdumpsRvR_tflattentgetfieldR�R�R�R�R�tnbytestnewbyteordertprodR�tptpRLtsearchsortedtsetfieldtsetflagsR�R�tstridesR�R�ttofileR�R�R�tstdtviewtroundR�R�R�(((s9/usr/lib64/python2.7/site-packages/numpy/oldnumeric/ma.pyt<module>
s�

													



#E&												���}			
	
	
	k		

					
	
			/	/