Ñò ]ÐKc$@s2dddddddddd d d d d ddddddddddddddddddd d!d"d#g$Zd$d%kiiZd$d%kiiZd$d&kl Z l Z l Z l Z lZlZlZlZlZlZlZlZlZlZlZlZlZlZ l!Z"l#Z#l$Z$l%Z%l&Z&l'Z'l(Z(l)Z*l+Z+d$d'k,l-Z-l.Z.d$d(k/l0Z0l1Z1d$d%kZ2d$d)k3l4Z4d%d*d%d%d+„Z6d%d*d%d%d,„Z7d%d$d-„Z d*d.„Zd*d/„Zd*d0„Z8d*d1„Z9d*d2„Zd*d3„Zd*d4„Z)d%d*d*d5„Z:d$d6kl;Z;l<Z<d%d7„Z=d$d8k>Td$d8k?Td$d8k@Td$d8kATd$d8kBTd$d%k>Z>d$d%k@Z@d$d%k?Z?d$d%kBZBd$d%kAZAd$d%kZeiCZC[ed9g7Zee>i7Zee@i7Zee?i7ZeeAi7ZeeBi7Z[>[?[@[A[Bd%S(:trandttrilttrapzthanningtrot90ttriutdifftangletrootstptptkaisertrandntcumprodtdiagtmsortt LinearAlgebrat RandomArraytprodtstdthammingtflipudtmaxtblackmantcorrcoeftbartlettteyetsqueezetsincttritcovtsvdtmintmediantfliplrteigtmeaniÿÿÿÿN(RRRRRRRRR R R R RRRRRtamaxtaminRRRRR R!R#t transpose(R"R(RR (t convtypecodeicCs|t||ƒ}|djo |}ntitiiti|ƒti|ƒƒ| ƒ}|i|jo|i|ƒSdS(sp eye returns a N-by-M 2-d array where the k-th diagonal is all ones, and everything else is zeros. N( R'tNonetnptequaltsubtracttoutertarangetdtypetastype(tNtMtkttypecodeR.tm((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyRs  4cCs|t||ƒ}|djo |}ntitiiti|ƒti|ƒƒ| ƒ}|i|jo|i|ƒSdS(sy returns a N-by-M array where all the diagonals starting from lower left corner up to the k-th are all ones. N( R'R(R)t greater_equalR+R,R-R.R/(R0R1R2R3R.R4((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyR!s  4cCst||d|ƒS(Ntaxis(t_Ntrapz(tytxR6((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyR+scCs t||ƒS(N(t_Nptp(R9R6((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyR .scCs t||ƒS(N(t _Ncumprod(R9R6((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyR 1scCs t||ƒS(N(t_Nmax(R9R6((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyR4scCs t||ƒS(N(t_Nmin(R9R6((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyR7scCs t||ƒS(N(t_Nprod(R9R6((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyR:scCs2t|ƒi|}t||ƒt||dƒS(Ngð?(tasarraytshapet_Nstdtsqrt(R9R6R0((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyR=scCs t||ƒS(N(t_Nmean(R9R6((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyR#AscCs$|djo |}n|}|ot|ƒ}t|ƒ}n|iddjot|ƒ}n|iddjot|ƒ}n|id}|id|jo td‚n|t|ddƒ}|t|ddƒ}|o|d}n |d}ttt|ƒt|ƒƒ|ƒS(Niis1x and y must have the same number of observationsR6gð?(R(R&R@t ValueErrorRCRtdott conjugate(R4R8trowvartbiasR0tfact((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyREs&      (RBtmultiplycCs5t||ƒ}t|ƒ}|tti||ƒƒS(N(RR RBRJR,(R9R8tctd((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyR^s (t*t __version__(Dt__all__tnumpy.oldnumeric.linear_algebrat oldnumerictlinear_algebraRtnumpy.oldnumeric.random_arrayt random_arrayRtnumpyRRR7RRRRRRR R:R R R;R RRR>RRARRR$R<R%R=RRRRR R!R#RCR&t numpy.linalgR"Rt numpy.randomRR R)ttypeconvR'R(RRRRRRBRJRtcompatt functionst precisiontufuncstmiscRN(((s;/usr/lib64/python2.6/site-packages/numpy/oldnumeric/mlab.pyts`¬