Ñò ]ÐKc @sédZddddddddd d d d d g ZddkZddklZdefd„ƒYZd„ZddklZddkl Z d„Z dd„Z d„Zd„Zdd„Zd„Zd„Zd„Zd„ZdS(s/Backward compatible with arrayfns from Numeric t array_sett construct3tdigitizeterrort find_maskt histogramt index_sorttinterptnztreversetspant to_cornerst zmin_zmaxiÿÿÿÿN(tasarraycBseZRS((t__name__t __module__(((s?/usr/lib64/python2.6/site-packages/numpy/oldnumeric/arrayfns.pyR scCsŸt|ƒ}|idjo td‚nt|tiƒp td‚nt|ƒ}t|ƒ}|i|ijp|idjo td‚n|||=1)(R tndimt ValueErrort isinstancetnptndarrayt TypeErrorR(tvals1tindicestvals2((s?/usr/lib64/python2.6/site-packages/numpy/oldnumeric/arrayfns.pyRs     # (R(tbincountcCst|ƒiddƒS(Ntkindtheap(R targsort(tarr((s?/usr/lib64/python2.6/site-packages/numpy/oldnumeric/arrayfns.pyRscCs\ti|||ƒ}|djp |djo|S|djo|idƒStd‚dS(s=y(z) interpolated by treating y(x) as piecewise function tdtfsincompatible typecodeN(RRtNonetastypeR(tytxtzttyptres((s?/usr/lib64/python2.6/site-packages/numpy/oldnumeric/arrayfns.pyR s  cCsYt|dtiƒ}|idjo td‚nti|djƒ}|diƒdS(Ntdtypeisintput must have 1 dimension.iiÿÿÿÿ(R RtubyteRRt flatnonzerotitem(R#tindxs((s?/usr/lib64/python2.6/site-packages/numpy/oldnumeric/arrayfns.pyR+s  cCsªt|ddƒ}|idjo td‚nti|ƒ}|djo'|ddd…dd…f|ds$