author | alpar |
Tue, 11 Jan 2005 09:08:47 +0000 | |
changeset 1071 | 7c70fc1b2d8b |
parent 1070 | 6aa1520a0f2f |
child 1072 | ce824c6ffd5d |
src/lemon/xy.h | file | annotate | diff | comparison | revisions |
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