Current File : //proc/self/root/proc/self/root/lib64/python2.7/site-packages/numpy/oldnumeric/mlab.pyc
�
E�`Qc$@s2dddddddddd	d
ddd
ddddddddddddddddddd d!d"d#g$Zd$d%ljjZd$d%ljjZd$d&lm	Z	m
ZmZm
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZ m!Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z*m+Z+d$d'l,m-Z-m.Z.d$d(l/m0Z0m1Z1d$d%lZ2d$d)l3m4Z4d%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$d6lm;Z;m<Z<d%d7�Z=d$d8l>Td$d8l?Td$d8l@Td$d8lATd$d8lBTd$d%l>Z>d$d%l@Z@d$d%l?Z?d$d%lBZBd$d%lAZAd$d%lZejCZC[ed9g7Zee>j7Zee@j7Zee?j7ZeeAj7ZeeBj7Z[>[?[@[A[Bd%S(:trandttrilttrapzthanningtrot90ttriutdifftangletrootstptptkaisertrandntcumprodtdiagtmsortt
LinearAlgebratRandomArraytprodtstdthammingtflipudtmaxtblackmantcorrcoeftbartlettteyetsqueezetsincttritcovtsvdtmintmediantfliplrteigtmeani����N(RRRRRRRRR	R
RR
RRRRRtamaxtaminRRRRR R!R#t	transpose(R"R(RR(tconvtypecodeicCsxt||�}|dkr$|}ntjtjjtj|�tj|��|�}|j|krt|j|�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.7/site-packages/numpy/oldnumeric/mlab.pyRs	4cCsxt||�}|dkr$|}ntjtjjtj|�tj|��|�}|j|krt|j|�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.7/site-packages/numpy/oldnumeric/mlab.pyR!s	4cCst||d|�S(Ntaxis(t_Ntrapz(tytxR6((s;/usr/lib64/python2.7/site-packages/numpy/oldnumeric/mlab.pyR+scCs
t||�S(N(t_Nptp(R9R6((s;/usr/lib64/python2.7/site-packages/numpy/oldnumeric/mlab.pyR	.scCs
t||�S(N(t	_Ncumprod(R9R6((s;/usr/lib64/python2.7/site-packages/numpy/oldnumeric/mlab.pyR1scCs
t||�S(N(t_Nmax(R9R6((s;/usr/lib64/python2.7/site-packages/numpy/oldnumeric/mlab.pyR4scCs
t||�S(N(t_Nmin(R9R6((s;/usr/lib64/python2.7/site-packages/numpy/oldnumeric/mlab.pyR7scCs
t||�S(N(t_Nprod(R9R6((s;/usr/lib64/python2.7/site-packages/numpy/oldnumeric/mlab.pyR:scCs2t|�j|}t||�t||d�S(Ng�?(tasarraytshapet_Nstdtsqrt(R9R6R0((s;/usr/lib64/python2.7/site-packages/numpy/oldnumeric/mlab.pyR=scCs
t||�S(N(t_Nmean(R9R6((s;/usr/lib64/python2.7/site-packages/numpy/oldnumeric/mlab.pyR#AscCs|dkr|}n|}|r<t|�}t|�}n|jddkr^t|�}n|jddkr�t|�}n|jd}|jd|kr�td��n|t|dd�}|t|dd�}|r�|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.7/site-packages/numpy/oldnumeric/mlab.pyREs&	


(RBtmultiplycCs5t||�}t|�}|ttj||��S(N(RR
RBRJR,(R9R8tctd((s;/usr/lib64/python2.7/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.randomRRR)ttypeconvR'R(RRRRRRBRJRtcompatt	functionst	precisiontufuncstmiscRN(((s;/usr/lib64/python2.7/site-packages/numpy/oldnumeric/mlab.pyt<module>s`�