parameters: (self, R)
docstring: Rotates the molecule using rotation matrix *R*.
  
          >>> H2OH2O.rotate([[0,-1,0],[-1,0,0],[0,0,1]])
docstring_summary: Rotates the molecule using rotation matrix *R*.
docstring_tokens: Rotates the molecule using rotation matrix * R * .
function: def rotate(self, R):
          """Rotates the molecule using rotation matrix *R*.
  
          >>> H2OH2O.rotate([[0,-1,0],[-1,0,0],[0,0,1]])
  
          """
          new_geom = zero(3, self.natom())
          geom = self.geometry()
          new_geom = mult(geom, R)
          self.set_geometry(new_geom)
function_tokens: def rotate ( self , R ) : new_geom = zero ( 3 , self . natom ( ) ) geom = self . geometry ( ) new_geom = mult ( geom , R ) self . set_geometry ( new_geom )