Sparse array allowing space efficient access of the form s[3000]=2. More...
Go to the source code of this file.
Classes | |
class | vbl_sparse_array_1d< T > |
Sparse array allowing space efficient access of the form s[3000] = 2;. More... | |
Defines | |
#define | VBL_SPARSE_ARRAY_BASE_INSTANTIATE(T) extern "please include vbl/vbl_sparse_array_base.txx instead" |
#define | VBL_SPARSE_ARRAY_1D_INSTANTIATE(T) extern "please include vbl/vbl_sparse_array_1d.txx instead" |
Functions | |
template<class T > | |
vcl_ostream & | operator<< (vcl_ostream &s, const vbl_sparse_array_1d< T > &a) |
Stream operator - print the Array to a stream in "(i,j): value" format. |
Sparse array allowing space efficient access of the form s[3000]=2.
Modifications Ian Scott (Manchester, ISBE) rewritten to use vbl_sparse_array_base
Definition in file vbl_sparse_array_1d.h.
#define VBL_SPARSE_ARRAY_1D_INSTANTIATE | ( | T | ) | extern "please include vbl/vbl_sparse_array_1d.txx instead" |
Definition at line 48 of file vbl_sparse_array_1d.h.
#define VBL_SPARSE_ARRAY_BASE_INSTANTIATE | ( | T | ) | extern "please include vbl/vbl_sparse_array_base.txx instead" |
Definition at line 45 of file vbl_sparse_array_1d.h.
vcl_ostream& operator<< | ( | vcl_ostream & | s, |
const vbl_sparse_array_1d< T > & | a | ||
) | [inline] |
Stream operator - print the Array to a stream in "(i,j): value" format.
Definition at line 39 of file vbl_sparse_array_1d.h.