COIN-OR::LEMON - Graph Library

Changeset 1071:7c70fc1b2d8b in lemon-0.x


Ignore:
Timestamp:
01/11/05 10:08:47 (16 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1467
Message:

Missing 'xy<T> operator*(double, xy<T>)' added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/xy.h

    r1049 r1071  
    146146    };
    147147
     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
    148153  ///Read a plainvector from a stream
    149154
Note: See TracChangeset for help on using the changeset viewer.