• File: test_random.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyc
  • Date Modified: 12/19/2017 2:16 PM
  • File size: 44.02 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

9Zc@`sBddlmZmZmZddlZddlmZmZm	Z	m
Z
mZmZddlm
Z
ddlmZddlZddlZdefdYZdefd	YZd
efdYZdefd
YZdefdYZdefdYZdefdYZedkr>endS(i(tdivisiontabsolute_importtprint_functionN(tTestCasetrun_module_suitetassert_t
assert_raisestassert_equaltassert_warns(trandom(tasbytestTestSeedcB`s,eZdZdZdZdZRS(cC`sTtjjd}t|jddtjjd}t|jdddS(NiiiIi(tnpR	tRandomStateRtrandint(tselfts((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_scalarscC`stjjtd}t|jddtjjtjd}t|jddtjjdg}t|jddtjjdg}t|jdddS(Ni
iiiiIi	(RR	R
trangeRRtarange(RR((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
test_arrayscC`s0tttjjdtttjjddS(Ngi(Rt	TypeErrorRR	R
t
ValueError(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_invalid_scalarscC`stttjjdgtttjjdgtttjjdgtttjjdddgtttjjdddgdS(NgiIiii(RRRR	R
R(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_invalid_array$s
(t__name__t
__module__RRRR(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRs		
	tTestBinomialcB`seZdZdZRS(cC`sntjddd}xRdddgD]A}ttjd|dktjjtj|||q%WdS(Nitdtypetintig?i(RtzerosRR	tbinomialttestingtassert_array_equal(RRtp((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_n_zero.scC`stttjdtjdS(Ni(RRR	RRtnan(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
test_p_is_nan7s(RRR#R%(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR-s		tTestMultinomialcB`s,eZdZdZdZdZRS(cC`stjdddgdS(Nidg?g?(R	tmultinomial(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
test_basic=scC`s#tjddddddgdS(Nidg?g?g(R	R'(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_zero_probability@scC`swtdtjddko&dkntjddd}ttjd|kttj|dkdS(Niii(RR	RRtall(Rtx((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_int_negative_intervalCs,cC`s+ddg}ttjjd|tjdjdttjjd|tjdjdttjjd|tjdjdttjjd|ddgjdttjjd|djd	ttjjd|tjd
jdtttjjd|tj	ddS(Ng?ii(ii(ii(ii(iii(ii(iii(ii(iii(
RRR	R'tuint32tshapetarrayRRtfloat(RR"((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt	test_sizeIs+++("$(RRR(R)R,R1(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR&<s			tTestSetStatecB`s>eZdZdZdZdZdZdZRS(cC`s4d|_tj|j|_|jj|_dS(NiI(tseedR	R
tprngt	get_statetstate(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pytsetUpYs	cC`sT|jjd}|jj|j|jjd}ttj||kdS(Ni(R4ttomaxintt	set_stateR6RRR*(Rtoldtnew((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR(^scC`sZ|jjdd}|jj|j|jjdd}ttj||kdS(Ntsizei(R4tstandard_normalR9R6RRR*(RR:R;((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_gaussian_resetdscC`ss|jj|jj}|jjdd}|jj||jjdd}ttj||kdS(NR<i(R4R=R5R9RRR*(RR6R:R;((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_gaussian_reset_in_media_resks
cC`s|jd }|jjdd}|jj||jjdd}|jj|j|jjdd}ttj||kttj||kdS(NiR<i(R6R4R=R9RRR*(Rt	old_statetx1tx2tx3((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_backwards_compatibilityvs
cC`s|jjdddS(Ng?(R4tnegative_binomial(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_negative_binomials(RRR7R(R>R?RDRF(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR2Xs					tTestRandintc	B`seZejjZejejejej	ej
ejejej
ejg	ZdZdZdZdZdZdZRS(cC`s tt|jddtjdS(NiR(RRtrfuncRR0(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_unsupported_typescC`sx|jD]}|tjkr%dntj|j}|tjkrLdntj|jd}tt|j|d|d|tt|j||dd|tt|j||d|tt|jddd|q
WdS(NiiiR(	titypeRtbool_tiinfotmintmaxRRRH(Rtdttlbndtubnd((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_bounds_checkings'+  c	C`sx|jD]}|tjkr%dntj|j}|tjkrLdntj|jd}|d}t|j||dddd|||}t|j||dddd||||d}t|j||dddd||q
WdS(NiiiR<iR(RJRRKRLRMRNRRH(RRORPRQttgt((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_rng_zero_and_extremess'+
))c	C`stjjxy|jdD]j}xadddgD]P}|jd|dd	d|}t|j|kt|jdkq1WqW|jdddd
dtj}t|jdkt|jdkdS(NiiiiiR<Riii(	RR	R3RJRHRRNRMtbool(RRORQtvals((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_in_bounds_fuzzs
!cC`sddl}i	dd6dd6dd6dd	6d
d6dd6dd
6dd6d
d6}x|jdD]}tjjdtjdkr|jddddd|}n$|jddddd|j}|j	|j
tjj}t
|tj|j|kq_Wtjjd|jdddddtjj
tj}|j	|j}t
|tjtjj|kdS(Nit 7dd3170d7aa461d201a65f8bcf3944b0RUt 1b7741b80964bb190c50d541dca1cac1tint16t 4dc9fcc2b395577ebb51793e58ed1a05tint32t 17db902806f448331b5a758d7d2ee672tint64t 27dd30c4e08a797063dffac2490b0be6tint8tuint16R-tuint64tuint8iitlittleiR<iRi(thashlibRJRR	R3tsyst	byteorderRHtbyteswaptmd5tviewR`t	hexdigestRRtnameRU(RReRSROtvaltres((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_repeatabilitys*

!$!$-cC`sWx|jD]}|tjkr%dntj|j}|tjkrLdntj|jd}|j||d|}|j|jtj|q
Wxtj	tj
tjfD]}|tj	krdntj|j}|tj	krdntj|jd}|j||d|}|jt
|d|jt||qWdS(NiiiR(RJRRKRLRMRNRHtassertEqualRRURtlongtassertFalsethasattrttype(RRORPRQtsample((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_respect_dtype_singletons'+ '+(RRRR	RRHRKR`RcRZRaR\R-R^RbRJRIRRRTRWRoRv(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRGs						!tTestRandomDistcB`s	eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5d4Z6d5Z7d6Z8d7Z9d8Z:RS(9cC`s
d|_dS(NiI(R3(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR7scC`sotjj|jtjjdd}tjddgddgddgg}tjj||d	d
dS(Niig_\*?g?g<p?g,o?gH?gZ?tdecimali(RR	R3trandR/R tassert_array_almost_equal(Rtactualtdesired((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt	test_rands	cC`sotjj|jtjjdd}tjddgddgddgg}tjj||d	d
dS(Niig!<Oq?g4u,?g3?gLI/DͿg@?@gHS\@Rxi(RR	R3trandnR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
test_randns	cC`sotjj|jtjjdddd}tjddgddgd	d
gg}tjj||dS(NiicR<iiiii)ii(ii(RR	R3RR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_randints	cC`sotjj|jtjjdddd}tjddgddgd	d
gg}tjj||dS(NiicR<iiiii)ii(ii(RR	R3trandom_integersR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_random_integerss	cC`sVtjjtjdjtjdj}tjdj}tjj||dS(Ntl(RR	RRLRNR R(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_random_integers_max_intsc
C`sztjhtjdttttjjtjdj	tttjjtjdj	tjdj	WdQXdS(NterrorR(
twarningstcatch_warningstsimplefiltertDeprecationWarningRRR	RRLRN(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_random_integers_deprecateds
		cC`sltjj|jtjjd}tjddgddgddgg}tjj||d	d
dS(Niig_\*?g?g<p?g,o?gH?gZ?Rxi(ii(RR	R3t
random_sampleR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_random_sample's	cC`sZtjj|jtjjdd}tjddddg}tjj||dS(Niii(RR	R3tchoiceR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_choice_uniform_replace/scC`sltjj|jtjjdddddddg}tjddddg}tjj||dS(NiR"g?g?ii(RR	R3RR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_choice_nonuniform_replace5s'cC`s]tjj|jtjjdddt}tjdddg}tjj||dS(Niitreplaceii(RR	R3RtFalseR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_choice_uniform_noreplace;sc
C`sotjj|jtjjdddtdddddg}tjddd	g}tjj||dS(
NiiRR"g?g333333?g?ii(RR	R3RRR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_choice_nonuniform_noreplaceAs
cC`sftjj|jtjjddddgd}tjddddg}tjj||dS(Ntatbtctdi(RR	R3RR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_choice_nonintegerHs!cC`sjtjj}tt|ddtt|ddtt|ddgddggdtt|gdtt|ddddgddddgddggtt|ddgddd	d	d
gtt|ddgddddgtt|ddgddd	d	gtt|dddgdd
ttt|dddgdd
tddddgdS(Niig@iiiR"g?g?g?g?gRi(RR	RRRR(RRu((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_choice_exceptionsNs%(%%"!c	C`sddg}ttjtjjddtttjtjjddtttjtjjddtd|ttjtjjddtd|ttjtjjddgdtttjjdgdtdktjddg}tj	ddt
}||d<ttjj|dt|kt}ttjtjjd|dtttjtjjd|dtttjtjjd|dtd|ttjtjjd|dtd|ttjtjjddg|dtttjjdg|dtjdktjddg}tj	ddt
}||d<ttjj||dtj
|kd
}ddddd
dg}ttjjd|dtj|ttjjd|dtj|ttjjd|dtd|j|ttjjd|dtd|j|ttjjtjd|dtj|dS(Ng?g?iRR"iRiig?g?i(ii(RRtisscalarR	RtTrueRtNoneR/temptytobjectttupletndimtitemR.R(RR"RtarrR((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_choice_return_shape]s:%%+++%
"	))///+
+%%++cC`sHtjj|jtjjd}td}tjj||dS(Ni
s
Ui+Wf(RR	R3tbytesR
R R(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
test_bytesscC`sxddddddddd	d
g
D]}tjj|j|ddd
dddddddg
}tjj||}|dddddddddd
g
}tjj||qCWdS(NcS`s
tjgS(N(RR/(R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt<lambda>scS`s|S(N((R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`stj|jtjS(N(RtasarraytastypeR`(R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`stj|jtjS(N(RRRtfloat32(R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`stj|jtjS(N(RRRt	complex64(R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`stj|jtS(N(RRRR(R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`sg|D]}||f^qS(N((R+ti((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`s&tjg|D]}||g^q
S(N(RR(R+R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`stj||gjS(N(RtvstacktT(R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`sDtjg|D]}||f^q
dtdfdtjdfgS(NRiR(RRRR\(R+R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRs"iiiiiiiii	i(RR	R3tshuffleR R!(RtconvtalistR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_shuffles 	**cC`stjjtjtddddd}tjjtjdddd}|j}|j}xtdD]}tjj|t	t
|j|jt
|j|jtjj|t	t
|j|jt
|j|jqzWdS(	Niiiiiii2(ii(
Rtmat
masked_valuestreshapeRRtcopyR	RRtsortedtdatatmask(RRRta_origtb_origR((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_shuffle_maskeds/&,cC`sutjj|jtjjdddd}tjddgdd	gd
dgg}tjj||dd
dS(Ng?g?R<iigAKč?ghA?g ҇o>gάXf+q?gS1$?g'8zX ?Rxi(ii(RR	R3tbetaR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt	test_betas		cC`sotjj|jtjjdddd}tjddgdd	gd
dgg}tjj||dS(
NgZd;Y@gv/?R<iii%i+i*i0i.i-(ii(RR	R3RR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
test_binomials	cC`srtjj|jtjjddd
}tjddgddgd	d
gg}tjj||dddS(Ni2R<iig+Q]uO@g+Q@gY7`ZqP@ge(fG@gvtR@gEIȋR@Rxi
(ii(RR	R3t	chisquareR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_chisquares	cC`stjj|jtjddg}tjjj|dd}tjddgdd	ggd
dgdd
ggddgddggg}tjj||dddS(NgI<I@gEZC@R<iigi{
s?gn,	A?g]^?gpDB?gȧ#y?gr?g1U?gѨUC?g^,%?gB?gډOoX;?gM`!O?Rxi(ii(RR	R3R/tmtrandt	dirichletR Rz(RtalphaR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_dirichlets		cC`stjddg}ttjj|tjdjdttjj|tjdjdttjj|tjdjdttjj|ddgjdttjj|d	jd
ttjj|tjdjdtttjj|tj	ddS(
NgI<I@gEZC@ii(ii(ii(ii(iii(ii(iii(ii(iii(
RR/RR	RR-R.RRR0(RR"((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_dirichlet_sizes(((%(cC`srtjj|jtjjddd
}tjddgddgd	d
gg}tjj||dddS(Ng8EGr?R<iigNU?gbI0?gVU\@g:3@gU?g"qo?Rxi(ii(RR	R3texponentialR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_exponentials	cC`sutjj|jtjjdddd}tjddgdd	gd
dgg}tjj||dd
dS(NiiMR<iig7?g`j?g6"+?gܳ2>?gc>+Y?g_}S?Rxi(ii(RR	R3tfR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_fs	cC`sutjj|jtjjdddd
}tjddgddgd	d
gg}tjj||dddS(NiiR<igԏGM8@gȌ<@g	":@gv#)@gZQ?@gr[@@Rxi(ii(RR	R3tgammaR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
test_gammas	cC`sltjj|jtjjddd
}tjddgddgdd	gg}tjj||dS(Ng_c97ݚ?R<iiiiiii(ii(RR	R3t	geometricR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_geometrics	cC`s{tjj|jtjjdddddd}tjdd	gd
dgdd
gg}tjj||dddS(Ntlocg_c97ݚ?tscaleg@R<iigؕ?gs0?g#0g(xg-KD?gůp`@Rxi(ii(RR	R3tgumbelR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_gumbels!	cC`stjj|jtjjddddd}tjddgddgddgg}tjj||tjjd	d
ddd}tjddddg}tjj||tjjdd
d
dd}tjd
d
d
d
g}tjj||tjjd
d	ddd}tjd
d
d
d
g}tjj||tjjd
dd
dd}tjd
d
d
d
g}tjj||dS(Ng333333$@g@iR<iii
i	iiiii(ii(RR	R3thypergeometricR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_hypergeometrics$	cC`s{tjj|jtjjdddddd}tjdd	gd
dgdd
gg}tjj||dddS(NRg_c97ݚ?Rg@R<iig bO?g¸?gpJm	@g{K*t	@g:^w-gY~o?Rxi(ii(RR	R3tlaplaceR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_laplaces!	cC`s{tjj|jtjjdddddd}tjdd	gd
dgdd
gg}tjj||dddS(NRg_c97ݚ?Rg@R<iig#K-z?gJ?g92@gر[@g#+^˿g-@Rxi(ii(RR	R3tlogisticR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
test_logistic's!	cC`s{tjj|jtjjdddddd}tjdd	gd
dgdd
gg}tjj||dddS(Ntmeang_c97ݚ?tsigmag@R<iigɁ0@go,+4FB@g)ʭ6@g5?gnxNnP@g)U@Rxi
(ii(RR	R3t	lognormalR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_lognormal/s!	cC`sotjj|jtjjdddd}tjddgddgddgg}tjj||dS(	NR"gƀ@?R<iiii(ii(RR	R3t	logseriesR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_logseries7s	c
C`stjj|jtjjddgddd
}tjddd	dddgd	dd
dddggddddddgddddddggdddd	ddgddddddggg}tjj||dS(Niig@iR<iiiiiigUUUUUU?(ii(RR	R3R'R/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_multinomial?s"!cC`s:tjj|jd}ddgddgg}d}tjj|||}tjddgd	dggd
dgddggddgd
dggg}tjj||ddtjj||}tjddg}tjj||ddddg}ddgddgg}tttjj||dS(Ng_c97ݚ?i
iiiigO7?g$@gڰgHlUg.fgHX3,gS
?Rxig:kg|=(g_c97ݚ?i
(iig8?g8?(	RR	R3tmultivariate_normalR/R RzRtRuntimeWarning(RRtcovR<R{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_multivariate_normalJs$		cC`sutjj|jtjjdddddd}tjdd	gd
dgdd
gg}tjj||dS(NtnidR"g|Pk?R<iiiPiIi|icii(ii(RR	R3RER/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRFcs!	cC`sVtjj|jtjjdddddd}tjddgd	d
gddgg}tjj||d
dtjjdddddd}tjddgddgddgg}tjj||d
dtjj|jtjjdddddd }tjddgddgddgg}tjj||d
ddS(!NtdfitnoncR<iigG7@g!ܴ*@g1}z9?@g+驸0@g26E_r#@gI!1@Rxig?g?g?gTD?g?T?g+qnl?g~|D?g밬?ig{01#@gprs'@g~;$@g"dI
@g*@g}',@(ii(ii(ii(RR	R3tnoncentral_chisquareR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_noncentral_chisquareks"!	!	!	c
C`stjj|jtjjdddddddd}tjd	d
gddgd
dgg}tjj||dddS(NtdfnumitdfdeniRiR<ig^~?g/+c?g".@g@g7?gE?Rxi(ii(RR	R3tnoncentral_fR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_noncentral_fs		cC`s{tjj|jtjjdddddd}tjdd	gd
dgdd
gg}tjj||dddS(NRg_c97ݚ?Rg@R<iig&&n@gOG_@g~w@gtw]տgm&5@g$>@Rxi(ii(RR	R3tnormalR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_normals!	cC`sutjj|jtjjdddd}tjddgdd	gd
dgg}tjj||dd
dS(NRg_c97ݚ?R<iigWI@g
Ԩy@gy]0Ag1~\Aga@gY
7Atnulpi(ii(RR	R3tparetoR/R tassert_array_almost_equal_nulp(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_paretos		cC`sotjj|jtjjdddd}tjddgddgddgg}tjj||dS(	Ntlamg_c97ݚ?R<iiii(ii(RR	R3tpoissonR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_poissons	cC`stjdj}d}tttjj|tttjj|gdtttjj|tttjj|gddS(NRii
(RRLRNRRR	R(Rtlambigtlamneg((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_poisson_exceptionsscC`sutjj|jtjjdddd}tjddgdd	gd
dgg}tjj||dd
dS(NRg_c97ݚ?R<iig;'?gܴw*?g5?gFG?gD]?g$`?Rxi(ii(RR	R3tpowerR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
test_powers	cC`sutjj|jtjjdddd}tjddgdd	gd
dgg}tjj||dd
dS(NRi
R<iig"u+@gN$MB*@g7v8B4@g55@ge&@g~ӣZ1@Rxi(ii(RR	R3trayleighR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
test_rayleighs	cC`sotjj|jtjjdd}tjddgddgdd	gg}tjj||d
ddS(
NR<iigMoDL?g6([9grF=?gM'	-gVgVA:Qy?Rxi(ii(RR	R3tstandard_cauchyR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_standard_cauchys	cC`sotjj|jtjjdd}tjddgddgdd	gg}tjj||d
ddS(
NR<iig܁?gc!z?g&N"@gNI@gF>?g~ME?Rxi(ii(RR	R3tstandard_exponentialR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_standard_exponentials	cC`sutjj|jtjjdddd
}tjddgddgd	d
gg}tjj||dddS(NR.iR<ig)@gľ@gd],q@gPk{@g9B#1@gv @Rxi(ii(RR	R3tstandard_gammaR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_standard_gammas	cC`sotjj|jtjjdd}tjddgddgdd	gg}tjj||d
ddS(
NR<iig!<Oq?g4u,?g3?gLI/DͿg@?@gHS\@Rxi(ii(RR	R3R=R/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_standard_normals	cC`sutjj|jtjjdddd}tjddgdd	gd
dgg}tjj||dd
dS(NRi
R<iig\VH?ghU%gH$M?gLgVqdzǿg㖀?Rxi(ii(RR	R3t
standard_tR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_standard_ts	c
C`stjj|jtjjdddddddd}tjd
dgdd
gddgg}tjj||dddS(Ntleftg{Gz@tmodeg(\u$@trightgףp=
W4@R<iig:}\)@ghرTj(@gǨL30@g6ڜA0@g6sh&@g<,@Rxi(ii(RR	R3t
triangularR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_triangulars		cC`s{tjj|jtjjdddddd}tjdd	gd
dgdd
gg}tjj||dddS(NtlowgGz?thighgGz%@R<iig>#H@gu@g#@g}d]#@gN@gw)* @Rxi(ii(RR	R3tuniformR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_uniforms!	cC`stjdj}tjdj}tjj}tjjt|tj	dtjjt|dtj	tjjt|||tjjd|d|ddS(NR0iR
Rg؅W4vC(
RtfinfoRMRNR	RR Rt
OverflowErrortinf(Rtfmintfmaxtfunc((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_uniform_range_boundsscC`s{tjj|jtjjdddddd}tjdd	gd
dgdd
gg}tjj||dddS(NtmugGz?tkappagp=
ף?R<iigLZI@g'N"@gkr?gk=m@gډ?g^=\?Rxi(ii(RR	R3tvonmisesR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
test_vonmisess!	cC`sWtjj|jtjjdddddd}tjjtj|jdS(	NRgRgg5_PG>R<i
ii@B(RR	R3RR RtisfiniteR*(Rtr((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_vonmises_small
s!cC`s{tjj|jtjjdddddd}tjdd	gd
dgdd
gg}tjj||dddS(NRgGz?Rgp=
ף?R<iigZ@g-
g@g8
m?gVP"?g`V?gx^&3?Rxi(ii(RR	R3twaldR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt	test_walds!	cC`sutjj|jtjjdddd}tjddgdd	gd
dgg}tjj||dd
dS(NRgGz?R<iig@6?g]A?g(1ڥR?gU?g2_u?g^}-Q?Rxi(ii(RR	R3tweibullR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_weibulls	cC`sotjj|jtjjdddd
}tjddgddgdd	gg}tjj||dS(NRgGz?R<iiiBiii
(ii(RR	R3tzipfR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt	test_zipf#s	(;RRR7R}RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRFRRRRRRRRRRRRRR	R
RRRRRR!(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRwsr															$																																												t
TestThreadcB`s5eZdZdZdZdZdZRS(cC`std|_dS(Ni(Rtseeds(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR7.sc
C`sdddlm}tjt|jf|}tjt|jf|}gt|j|D]3\}}|d|dtjj||f^qa}g|D]}	|	j	^qg|D]}	|	j
^qx9t|j|D]%\}}|tjj||qWtjjj
dkrMtjdkrMtjj||ntjj||dS(Ni(tThreadttargettargsitwin32(t	threadingR$RRtlenR#tzipR	R
tstarttjointintpRtitemsizeRftplatformR RzR!(
RtfunctiontszR$tout1tout2RtottR+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pytcheck_function1sI'cC`s d}|j|dddS(NcS`s|jdd|d<dS(NR<i'.(R(R6tout((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt
gen_randomHsR1i'(i'(R6(RR8((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRGs	cC`s d}|j|dddS(NcS`s#|jdtjd|d<dS(NRidi.(idi(RRtones(R6R7((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR8MsR1idi(idi(R6(RR8((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_expLs	cC`s d}|j|dddS(NcS`s'|jddgddd|d<dS(	Ni
ig@iR<i'.gUUUUUU?(R'(R6R7((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR8RsR1i'i(i'i(R6(RR8((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRQs	(RRR7R6RR:R(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR",s
				t__main__(t
__future__RRRtnumpyRt
numpy.testingRRRRRRR	tnumpy.compatR
RfRRRR&R2RGRwRR"R(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt<module>s".0_G+