Ñò ]ÐKc @ s d d d d d d d d d d g Z d d k i i Z d d k Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ e d d ƒ Z d e f d „ ƒ YZ e d ƒ Z d „ Z d „ Z d S( t CreateGeneratort ExponentialDistributiont LogNormalDistributiont NormalDistributiont UniformDistributiont errort ranft default_distributiont random_samplet standard_generatoriÿÿÿÿNc B s e Z RS( ( t __name__t __module__( ( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyR s t Distributionc B s5 e Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c G s | | _ | | _ d S( N( t _metht _args( t selft metht args( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyt __init__ s c C s t ‚ d S( N( t NotImplementedError( R t x( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyt density s c C s | i | ƒ S( N( R ( R R ( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyt __call__ s c C s t | | i ƒ | i Œ S( N( t getattrR R ( R t rng( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyt _onesample s c C s) h | d 6} t | | i ƒ | i | Ž S( Nt size( R R R ( R R t nt kwds( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyt _sample s ( R R R R R R R ( ( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyR s c B s e Z d „ Z d „ Z RS( c C s1 | d j o t d ‚ n t i | d | ƒ d S( Ni s parameter must be positivet exponential( R R R ( R t lambda_( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyR % s c C s9 | d j o d St i d } | t i | | ƒ Sd S( Ni g ( R R t matht exp( R R ( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyR * s ( R R R R ( ( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyR $ s c B s e Z d „ Z d „ Z RS( c C s» t | ƒ } t | ƒ } | d j o t d ‚ n t i | d | | ƒ t i d | | | | ƒ } t i | ƒ d | | _ t i | ƒ | _ d t i d t i ƒ | i | _ d S( Ni s# standard deviation must be positivet lognormalg ð?g à?i ( t floatR R R R t logt _mnt sqrtt _snt pit _fac( R t mt st sn( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyR 2 s c C sL t i \ } } t i | ƒ t i t i } t i t i d | | ƒ | S( Ng à¿( R R R R$ R% R' R) R! ( R R* R+ t y( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyR = s ( R R R R ( ( ( s: /usr/lib64/python2.6/site-packages/numpy/oldnumeric/rng.pyR 1 s c B s e Z d „ Z d „ Z RS( c C sm t | ƒ } t | ƒ } | d j o t d ‚ n t i | d | | ƒ d t i d t i ƒ | | _ d S( Ni s# standard deviation must be positivet normalg ð?i ( R# R R R R R&