18 #ifndef __itkSparseVector_h 19 #define __itkSparseVector_h 21 #include "itkIntTypes.h" 32 template<
typename TValueType,
typename TKeyType = SizeValueType >
58 void Fill(TValueType
const & v)
80 typename InternalDataType::const_iterator it =
m_Data.find( i );
99 inline unsigned int Size(
void)
const
TKeyType ElementIdentifier
ValueType m_FillBufferValue
unsigned int GetSize(void) const
Represents a sparse array.
void Fill(TValueType const &v)
unsigned int Size(void) const
TValueType & operator[](unsigned int i)
InternalDataType * GetDataPointer()
const InternalDataType * GetDataPointer() const
utl_unordered_map< TKeyType, TValueType > InternalDataType
TValueType operator[](unsigned int i) const