BitMagic-C++
|
Example: sparse_vector<> used for set 2 set remapping (theory of groups Image) More...
#include <iostream>
#include <vector>
#include "bm.h"
#include "bmsparsevec.h"
#include "bmsparsevec_algo.h"
Go to the source code of this file.
Typedefs | |
typedef bm::sparse_vector< bm::id_t, bm::bvector<> > | sparse_vector_u32 |
Functions | |
static void | print_svector (const sparse_vector_u32 &sv) |
void | print_bvector (const bm::bvector<> &bv) |
int | main (void) |
Example: sparse_vector<> used for set 2 set remapping (theory of groups Image)
Definition in file svsample05.cpp.
typedef bm::sparse_vector<bm::id_t, bm::bvector<> > sparse_vector_u32 |
Definition at line 44 of file svsample05.cpp.
int main | ( | void | ) |
Definition at line 86 of file svsample05.cpp.
References print_bvector(), print_svector(), bm::set2set_11_transform< SV >::remap(), bm::set2set_11_transform< SV >::run(), bm::sparse_vector< Val, BV >::set(), and bm::use_null.
|
inline |
Definition at line 74 of file svsample05.cpp.
References bm::bvector< Alloc >::count(), bm::bvector< Alloc >::first(), and bm::bvector< Alloc >::iterator_base::valid().
Referenced by main().
|
static |
Definition at line 47 of file svsample05.cpp.
References bm::sparse_vector< Val, BV >::at(), bm::base_sparse_vector< Val, BV, MAX_SIZE >::is_null(), and bm::sparse_vector< Val, BV >::size().
Referenced by main().