00001 #include <scil/global.h> 00002 #include <scil/column_entry.h> 00003 00004 using namespace SCIL; 00005 00006 column_entry::column_entry(cons v, double c) 00007 { 00008 coeff=c; 00009 Cons=v; 00010 }; 00011 00012 std::ostream& operator<<(std::ostream& o,const column_entry&) 00013 { 00014 return o; 00015 }; 00016 00017 00018 std::istream& operator>>(std::istream& i,const column_entry&) 00019 { 00020 return i; 00021 }; 00022 00023 bool SCIL::operator< ( const column_entry& ce1, const column_entry& ce2 ) 00024 { 00025 return (ce1.Cons < ce2.Cons); 00026 };