libDAI
Namespaces | Functions
spvector_map.h File Reference

Defines spvector_map<> class, which implements a sparse vector (using a std::map) More...

#include <ostream>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  dai
 Namespace for libDAI.

Functions

template<class T >
std::ostream & dai::operator<< (std::ostream &os, const spvector_map< T > &x)
 Writes a spvector_map<> to a std::ostream.

Detailed Description

Defines spvector_map<> class, which implements a sparse vector (using a std::map)