src/lemon/xy.h
changeset 1080 568ce2be7fe0
parent 1049 e27446e1deda
child 1083 8043b93e5973
equal deleted inserted replaced
5:48f9154fa98f 6:ca5b62937477
   143 	return  (x!=u.x) || (y!=u.y);
   143 	return  (x!=u.x) || (y!=u.y);
   144       };
   144       };
   145 
   145 
   146     };
   146     };
   147 
   147 
       
   148   ///Returns a vector multiplied by a scalar
       
   149   template<typename T> xy<T> operator*(const T &u,const xy<T> &x) {
       
   150     return x*u;
       
   151   };
       
   152 
   148   ///Read a plainvector from a stream
   153   ///Read a plainvector from a stream
   149 
   154 
   150   ///Read a plainvector from a stream
   155   ///Read a plainvector from a stream
   151   ///\relates xy
   156   ///\relates xy
   152   ///
   157   ///