ó
$Oc           @   sQ   d  d l  m Z d  d l Z d  d l Z d  d l Td „  Z d „  Z d „  Z d S(   iÿÿÿÿ(   t   divisionN(   t   *c          C   s8   t  j d d t j ƒ }  t t j |  ƒ t j |  ƒ ƒ S(   Ng        g       @(   t   randomt   uniformt   matht   pit   complext   cost   sin(   t   phz(    (    sC   /homepages/25/d321765456/htdocs/pub_http_internet/python/randc_m.pyt
   randc_unit   s    c          C   s7   d }  t  j d |  ƒ } t  j d |  ƒ } t | | ƒ S(   NgÌ;fž æ?g        (   R   t   gaussR   (   t   st   ret   im(    (    sC   /homepages/25/d321765456/htdocs/pub_http_internet/python/randc_m.pyt   randc_mean_sq_1   s    c         C   sM   d } | | } t  j t |  ƒ | ƒ } t  j t |  ƒ | ƒ } t | | ƒ S(   NgÌ;fž æ?(   R   R   t   realt   imagR   (   t   mut   sigma_squaredR   t   scaleR   R   (    (    sC   /homepages/25/d321765456/htdocs/pub_http_internet/python/randc_m.pyt   randc_normal!   s
    
(   t
   __future__R    R   R   t
   cplxreal_mR
   R   R   (    (    (    sC   /homepages/25/d321765456/htdocs/pub_http_internet/python/randc_m.pyt   <module>   s   
		