28 #include "boost/tuple/tuple.hpp" 29 #include "boost/tuple/tuple_comparison.hpp" 31 typedef boost::tuple<size_t,size_t,size_t> Triplete;
33 inline void printTriplete(std::ostream &os,
const Triplete &t)
35 os <<
"[" << t.get<0>() <<
"," 45 typedef std::map<Triplete,T> map_Ts;
46 typedef typename map_Ts::const_iterator const_iterator;
47 typedef typename map_Ts::iterator iterator;
49 void PrintMember(std::ostream &os,const_iterator &)
const;
50 void Print(std::ostream &)
const;
56 printTriplete(os,(*i).first);
57 os <<
"; " << (*i).second;
63 for(const_iterator i=this->begin();i!=this->end();i++)
70 std::ostream &operator<<(std::ostream &os,const TripletMap<T> &tm)
Mapa tipo «tensor disperso».
Definition: TripletMap.h:42