lemon/xy.h
changeset 2000 ebcc93ead7da
parent 1993 2115143eceea
child 2006 00d59f733817
equal deleted inserted replaced
7:d2533a9234d7 8:c0b811392065
   148       bool operator!=(xy u) const {
   148       bool operator!=(xy u) const {
   149         return  (x!=u.x) || (y!=u.y);
   149         return  (x!=u.x) || (y!=u.y);
   150       }
   150       }
   151 
   151 
   152     };
   152     };
       
   153 
       
   154   ///Returns an xy 
       
   155 
       
   156   ///Returns an xy
       
   157   ///\relates xy
       
   158   template <typename T>
       
   159   inline xy<T> make_xy(const T& x, const T& y) {
       
   160     return xy<T>(x, y);
       
   161   }
   153 
   162 
   154   ///Returns a vector multiplied by a scalar
   163   ///Returns a vector multiplied by a scalar
   155 
   164 
   156   ///Returns a vector multiplied by a scalar
   165   ///Returns a vector multiplied by a scalar
   157   ///\relates xy
   166   ///\relates xy