*/
Accessor (const SparseMatrix<number> *matrix,
const unsigned int row,
- const unsigned short index);
+ const unsigned int index);
/**
* Row number of the element
* represented by this
* object.
*/
- unsigned short index() const;
+ unsigned int index() const;
/**
* Column number of the
/**
* Current index in row.
*/
- unsigned short a_index;
+ unsigned int a_index;
/**
* Make enclosing class a
*/
const_iterator (const SparseMatrix<number> *matrix,
const unsigned int row,
- const unsigned short index);
+ const unsigned int index);
/**
* Prefix increment.
SparseMatrix<number>::const_iterator::Accessor::
Accessor (const SparseMatrix<number>* matrix,
const unsigned int r,
- const unsigned short i)
+ const unsigned int i)
:
matrix(matrix),
a_row(r),
template <typename number>
inline
-unsigned short
+unsigned int
SparseMatrix<number>::const_iterator::Accessor::index() const
{
return a_index;
SparseMatrix<number>::const_iterator::
const_iterator(const SparseMatrix<number> *matrix,
const unsigned int r,
- const unsigned short i)
+ const unsigned int i)
:
accessor(matrix, r, i)
{}