2 #ifndef vbl_sparse_array_3d_hxx_ 3 #define vbl_sparse_array_3d_hxx_ 10 #include <vcl_compiler.h> 12 # include <vcl_msvc_warnings.h> 20 for (ci p = this->begin(); p != this->end(); ++p)
21 out <<
'(' << (*p).first.first
22 <<
',' << (*p).first.second
23 <<
',' << (*p).first.third
24 <<
"): " << (*p).second <<
'\n';
28 #undef VBL_SPARSE_ARRAY_3D_INSTANTIATE 29 #define VBL_SPARSE_ARRAY_3D_INSTANTIATE(T) \ 30 VBL_SPARSE_ARRAY_BASE_INSTANTIATE(T, vbl_triple<unsigned VCL_COMMA unsigned VCL_COMMA unsigned >); \ 31 template class vbl_sparse_array_3d<T >; \ 34 #endif // vbl_sparse_array_3d_hxx_ Map::const_iterator const_iterator
The type of iterators into the efficient storage.
a space efficient 3d array
std::ostream & print(std::ostream &) const
Print the Array to a stream in "(i,j,k): value" format.
A fully featured sparse array which devolves indexing to its templated type.
Contains a base class for sparse arrays.