src/lemon/xy.h
changeset 1086 caa13d291528
parent 1071 7c70fc1b2d8b
child 1102 100c8d5ee36b
equal deleted inserted replaced
6:ca5b62937477 7:3641d203a27b
   144       };
   144       };
   145 
   145 
   146     };
   146     };
   147 
   147 
   148   ///Returns a vector multiplied by a scalar
   148   ///Returns a vector multiplied by a scalar
       
   149 
       
   150   ///Returns a vector multiplied by a scalar
       
   151   ///\relates xy
   149   template<typename T> xy<T> operator*(const T &u,const xy<T> &x) {
   152   template<typename T> xy<T> operator*(const T &u,const xy<T> &x) {
   150     return x*u;
   153     return x*u;
   151   };
   154   };
   152 
   155 
   153   ///Read a plainvector from a stream
   156   ///Read a plainvector from a stream