2 #ifndef vbl_sparse_array_1d_hxx_ 3 #define vbl_sparse_array_1d_hxx_ 11 # include <vcl_msvc_warnings.h> 14 #if 0 // capes@robots - moved print implementation to header file 19 for (const_iterator p = begin(); p != end(); ++p)
20 out <<
"(" << (*p).first <<
"): " << (*p).second <<
'\n';
25 #undef VBL_SPARSE_ARRAY_1D_INSTANTIATE 26 #define VBL_SPARSE_ARRAY_1D_INSTANTIATE(T) \ 27 VBL_SPARSE_ARRAY_BASE_INSTANTIATE(T, unsigned int); \ 28 template class vbl_sparse_array_1d<T >; \ 31 #endif // vbl_sparse_array_1d_hxx_ std::ostream & print(std::ostream &out) const
Print the Array to a stream in "(i,j): value" format.
Sparse array allowing space efficient access of the form s[3000]=2.
Contains a base class for sparse arrays.