Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_sparse_matrix_pair< T > Class Template Reference

#include <vnl_sparse_matrix.h>

Collaboration diagram for vnl_sparse_matrix_pair< T >:

Collaboration graph
[legend]
List of all members.

Public Methods

 vnl_sparse_matrix_pair ()
 vnl_sparse_matrix_pair (unsigned int const &a, T const &b)
 vnl_sparse_matrix_pair (const vnl_sparse_matrix_pair< T > &o)
vnl_sparse_matrix_pair< T > & operator= (vnl_sparse_matrix_pair const &o)

Public Attributes

unsigned int first
second

Detailed Description

template<class T>
class vnl_sparse_matrix_pair< T >

Stores elements of sparse matrix. Each pair consists of a position of an element in the matrix, and the value of that element

Definition at line 42 of file vnl_sparse_matrix.h.


Constructor & Destructor Documentation

template<class T>
vnl_sparse_matrix_pair< T >::vnl_sparse_matrix_pair   [inline]
 

Constructs a pair with null values.

Definition at line 49 of file vnl_sparse_matrix.h.

References vnl_sparse_matrix_pair< T >::first, and vnl_sparse_matrix_pair< T >::second.

template<class T>
vnl_sparse_matrix_pair< T >::vnl_sparse_matrix_pair unsigned int const &    a,
T const &    b
[inline]
 

Constructs a pair with position a and value b.

Definition at line 53 of file vnl_sparse_matrix.h.

template<class T>
vnl_sparse_matrix_pair< T >::vnl_sparse_matrix_pair const vnl_sparse_matrix_pair< T > &    o [inline]
 

Definition at line 55 of file vnl_sparse_matrix.h.

References vnl_sparse_matrix_pair< T >::first, and vnl_sparse_matrix_pair< T >::second.


Member Function Documentation

template<class T>
vnl_sparse_matrix_pair<T>& vnl_sparse_matrix_pair< T >::operator= vnl_sparse_matrix_pair< T > const &    o [inline]
 

Definition at line 57 of file vnl_sparse_matrix.h.


Member Data Documentation

template<class T>
unsigned int vnl_sparse_matrix_pair< T >::first
 

Definition at line 44 of file vnl_sparse_matrix.h.

Referenced by vnl_sparse_matrix_pair< T >::vnl_sparse_matrix_pair().

template<class T>
T vnl_sparse_matrix_pair< T >::second
 

Definition at line 45 of file vnl_sparse_matrix.h.

Referenced by vnl_sparse_matrix_pair< T >::vnl_sparse_matrix_pair().


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:17:28 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000