Convert a master index to a row-major-order matrix index pair. More...
#include <pair_index_map.h>
Public Types | |
typedef std::pair< Each, Each > | key_type |
typedef size_t | value_type |
typedef size_t | reference |
typedef boost::readable_property_map_tag | category |
Public Member Functions | |
pair_index_map (const EachIndexMap &in_eachmap, const size_t in_ncols) | |
Public Attributes | |
const EachIndexMap & | eachmap |
const size_t | ncols |
Convert a master index to a row-major-order matrix index pair.
This class is a readable boost property map which maps from a pair of indexable entities to a master index like c row major order 2d matrix indices