File: //usr/lib64/python2.4/Demo/classes/Vec.pyo
mò
‚=5Dc @ s0 d „ Z d f d „ ƒ YZ d „ Z e ƒ d S( c G s
t | Œ S( N( t Vect v( R ( ( t( /usr/lib64/python2.4/Demo/classes/Vec.pyt vec s R c B sP t Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc G s t | ƒ | _ d S( N( t listR t self( R R ( ( R t __init__
s c C s( t | t ƒ p
t ‚ n | | _ | S( N( t
isinstanceR R t TypeErrorR ( R R ( ( R t fromlist
s
c C s d t | i ƒ d d !d S( Ns vec(i iÿÿÿÿt )( t reprR R ( R ( ( R t __repr__ s c C s
t | i ƒ S( N( t lenR R ( R ( ( R t __len__ s c C s | i | S( N( R R t i( R R ( ( R t __getitem__ s c C s% t d „ | | ƒ } t ƒ i | ƒ S( Nc C s | | S( N( t xt y( R R ( ( R t <lambda> s ( t mapR t otherR R R ( R R R ( ( R t __add__ s c C s% t d „ | | ƒ } t ƒ i | ƒ S( Nc C s | | S( N( R R ( R R ( ( R R # s ( R R R R R R ( R R R ( ( R t __sub__! s c s( t ‡ d † | i ƒ } t ƒ i | ƒ S( Nc s | ˆ S( N( R t scalar( R ( R ( R R ( s ( R R R R R ( R R R ( ( R R t __mul__&