00001 #include <scil/row_entry.h>
00002
00003 row_entry::row_entry(var v, double c)
00004 {
00005 coeff=c;
00006 Var=v;
00007 };
00008
00009
00010 int compare(const row_entry& t1, const row_entry& t2)
00011 {
00012 return compare(t1.Var,t2.Var);
00013 }
00014
00015
00016 ostream& operator<<(ostream& o,const row_entry&)
00017 {
00018 return o;
00019 };
00020
00021
00022 istream& operator>>(istream& i,const row_entry&)
00023 {
00024 return i;
00025 };
00026
1.2.16