21 #ifndef SELDON_FILE_SPARSE_VECTOR_INLINE_CXX
23 #include "SparseVector.hxx"
38 template <
class T,
class Allocator>
50 template <
class T,
class Allocator>
67 template <
class T,
class Allocator>
80 template <
class T,
class Allocator>
97 template <
class T,
class Allocator>
102 #ifdef SELDON_CHECK_BOUNDS
103 CheckBounds(i, this->m_,
"Vector<VectSparse>");
106 return this->data_[i];
115 template <
class T,
class Allocator>
120 #ifdef SELDON_CHECK_BOUNDS
121 CheckBounds(i, this->m_,
"Vector<VectSparse>");
124 return this->data_[i];
133 template <
class T,
class Allocator>
137 #ifdef SELDON_CHECK_BOUNDS
138 CheckBounds(i, this->m_,
"Vector<VectSparse>");
141 return this->index_[i];
150 template <
class T,
class Allocator>
154 #ifdef SELDON_CHECK_BOUNDS
155 CheckBounds(i, this->m_,
"Vector<VectSparse>");
158 return this->index_[i];
168 template <
class T,
class Allocator>
188 template <
class T,
class Allocator>
200 template <
class T,
class Allocator>
203 return sizeof(*this) + (
sizeof(T) +
sizeof(
int))*
size_t(this->m_);
208 #define SELDON_FILE_SPARSE_VECTOR_INLINE_CXX