changeset 1071 | 7c70fc1b2d8b |
parent 1049 | e27446e1deda |
child 1083 | 8043b93e5973 |
1.1 --- a/src/lemon/xy.h Tue Jan 11 09:05:24 2005 +0000 1.2 +++ b/src/lemon/xy.h Tue Jan 11 09:08:47 2005 +0000 1.3 @@ -145,6 +145,11 @@ 1.4 1.5 }; 1.6 1.7 + ///Returns a vector multiplied by a scalar 1.8 + template<typename T> xy<T> operator*(const T &u,const xy<T> &x) { 1.9 + return x*u; 1.10 + }; 1.11 + 1.12 ///Read a plainvector from a stream 1.13 1.14 ///Read a plainvector from a stream