Classes | Macros | Functions
vbl_sparse_array_1d.h File Reference

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

#include <iostream>
#include <vbl/vbl_sparse_array_base.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...
 

Macros

#define VBL_SPARSE_ARRAY_BASE_INSTANTIATE(T)   extern "please include vbl/vbl_sparse_array_base.hxx instead"
 
#define VBL_SPARSE_ARRAY_1D_INSTANTIATE(T)   extern "please include vbl/vbl_sparse_array_1d.hxx instead"
 

Functions

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

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.

Macro Definition Documentation

◆ VBL_SPARSE_ARRAY_1D_INSTANTIATE

#define VBL_SPARSE_ARRAY_1D_INSTANTIATE (   T)    extern "please include vbl/vbl_sparse_array_1d.hxx instead"

Definition at line 48 of file vbl_sparse_array_1d.h.

◆ VBL_SPARSE_ARRAY_BASE_INSTANTIATE

#define VBL_SPARSE_ARRAY_BASE_INSTANTIATE (   T)    extern "please include vbl/vbl_sparse_array_base.hxx instead"

Definition at line 45 of file vbl_sparse_array_1d.h.

Function Documentation

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::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.