mò
ÀWRFc           @   s    d  k  Z  d f  d „  ƒ  YZ d  S(   Nt   Vectorc           B   s2   t  Z d  Z d „  Z d „  Z d „  Z d „  Z RS(   s€   This triple (double) quoted string is used by Python
	for documentation. You would include here comments on the
	Vector class.
	c         C   s   t  i | | | g ƒ |  _ d  S(   N(   t   numpyt   arrayt   xt   yt   zt   self(   R   R   R   R   (    (    tT   /Users/chaos/Presentations/NonlinearPhysics 2007/Software/Part8_Code/ExampleClass.pyt   __init__   s    c         C   s,   |  i | i } t | d | d | d ƒ S(   Ni    i   i   (   R   R   t   othert   sumR    (   R   R	   R
   (    (    R   t   __add__   s    c         C   s#   t  i t  i i |  i |  i ƒ ƒ S(   N(   R   t   sqrtt   addt   reduceR   R   (   R   (    (    R   t   length   s    c         C   s)   d |  i d |  i d |  i d f S(   Ns   Vector(%s,%s,%s)i    i   i   (   R   R   (   R   (    (    R   t   __repr__   s    (   t   __name__t
   __module__t   __doc__R   R   R   R   (    (    (    R   R       s
    			(   R   R    (   R    R   (    (    R   t   ?   s   	