<s> from numpy import cos , sin <EOL> class Point ( object ) : <EOL> """<STR_LIT>""" <EOL> x = <NUM_LIT:0.> <EOL> y = <NUM_LIT:0.> <EOL> z = <NUM_LIT:0.> <EOL> def rotate_z ( self , theta ) : <EOL> """<STR_LIT>""" <EOL> xtemp = cos ( theta ) * self . x + sin ( theta ) * self . y <EOL> ytemp = - sin ( theta ) * self . x + cos ( theta ) * self . y <EOL> self . x = xtemp <EOL> self . y = ytemp </s>
