core/vbl/vbl_sparse_array_2d.h File Reference


Detailed Description

a space efficient 2d array

Author:
Andrew W. Fitzgibbon, Oxford RRG
Date:
02 Oct 96
vbl_sparse_array_2d is a sparse 2D array allowing space efficient access of the form s(3000,7000) = 2.

    Modifications
     26 March 01 cjb updated documentation
     10 April 01 IMS (Manchester ISBE) modified to use vbl_sparse_array_base
     11 April 01 Peter Vanroose - vbl_index_2d moved to separate file
     11 April 01 Ian Scott - replaced used of vbl_index_2d with vcl_pair
   

Definition in file vbl_sparse_array_2d.h.

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

Go to the source code of this file.


Classes

class  vbl_sparse_array_2d< T >
 Sparse 2D array allowing space efficient access of the form s(300,700) =2. More...

Defines

#define VBL_SPARSE_ARRAY_2D_INSTANTIATE(T)   extern "please include vbl/vbl_sparse_array_2d.txx instead"

Functions

template<class T>
vcl_ostream & operator<< (vcl_ostream &s, const vbl_sparse_array_2d< T > &a)
 Stream operator - print the Array to a stream in "(i,j): value" format.

Define Documentation

#define VBL_SPARSE_ARRAY_2D_INSTANTIATE (  )     extern "please include vbl/vbl_sparse_array_2d.txx instead"

Definition at line 91 of file vbl_sparse_array_2d.h.


Function Documentation

template<class T>
vcl_ostream& operator<< ( vcl_ostream &  s,
const vbl_sparse_array_2d< T > &  a 
) [inline]

Stream operator - print the Array to a stream in "(i,j): value" format.

Definition at line 86 of file vbl_sparse_array_2d.h.


Generated on Mon Mar 8 05:07:20 2010 for core/vbl by  doxygen 1.5.1