compressed2D<T, SizeType, int IND_OFFSET> [MTL Home] Programmers Guide
  Contents | Index |  Search 


Category:container Component type:type
Description
This version of the compressed matrix format keeps track of its own memory using reference counting. for banded view deprecated
Example
Definition
compressed2D.h
Template Parameters

ParameterDescriptionDefault
TThe element type 
SizeTypeThe type for the stored indices 
IND_OFFSETTo handle indexing from 0 or 1 
Model of
TwoDContainerRef
Members
Member Where defined Description
dim_type    
size_type   The integral type for dimensions, indices, etc.
band_type   A variant of a pair type to describe the band width
compressed2D ()   Default Constructor
compressed2D (dim_type d)   Normal Constructor
compressed2D (dim_type d, size_type nnz)    
compressed2D (dim_type d, band_type)   Banded Constructor
compressed2D (const self& x)   Copy Constructor
compressed2D (const self& x, band_type, banded_tag)    
self& operator= (const self& x)    
template <class MatrixStream, class Orien>
compressed2D (MatrixStream& s, Orien)
  Matrix Stream Constructor
template <class MatrixStream, class Orien>
compressed2D (MatrixStream& s, Orien, band_type)
  Banded Matrix Stream Constructor
template <class SubMatrix>
struct partitioned
   
void resize (size_type m, size_type n)    
New members
Notes
See also

[MTL Home] Copyright © 1998,1999 University of Notre Dame. All Rights Reserved.