Classes | Defines | Functions
core/vbl/vbl_sparse_array_1d.h File Reference

Sparse array allowing space efficient access of the form s[3000]=2. More...

#include <vbl/vbl_sparse_array_base.h>
#include <vcl_iostream.h>

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.

Detailed Description

Sparse array allowing space efficient access of the form s[3000]=2.

Author:
Andrew W. Fitzgibbon, Oxford RRG
Date:
02 Oct 96
    Modifications
     Ian Scott (Manchester, ISBE) rewritten to use vbl_sparse_array_base
   

Definition in file vbl_sparse_array_1d.h.


Define Documentation

#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.


Function Documentation

template<class T >
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.