MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/lib/python2.4/site-packages/Numeric/RNG/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/site-packages/Numeric/RNG/__init__.pyc
mò
åòC>c@s8dZdkZdkTedƒZd„Zd„ZdS(sÇ
 x=CreateGenerator(seed) creates an random number generator stream
   seed < 0  ==>  Use the default initial seed value.
   seed = 0  ==>  Set a "random" value for the seed from the system clock.
   seed > 0  ==>  Set seed directly (32 bits only).
   x.ranf() samples from that stream.
   x.sample(n) returns a vector from that stream.

 ranf() returns a stream of random numbers
 random_sample(n) returns a vector of length n filled with random numbers
N(t*iÿÿÿÿcCs
tiƒS(s5ranf() = a random number from the standard generator.N(tstandard_generatortranf(((t8/usr/lib/python2.4/site-packages/Numeric/RNG/__init__.pyRscGsR|ptidƒSnd}x|D]}||}q%Wtiti|ƒ|ƒS(strandom_sample(n) = array of n random numbers;
        random_sample(n1, n2, ...)= random array of shape (n1, n2, ..)iN(tnRtsampletmtitNumerictreshape(RRR((Rt
random_samples(t__doc__RtRNGtCreateGeneratorRRR
(RR
RR((Rt?s
		

Anon7 - 2021