21 template <
typename T,
typename indexT,
bool columnMajor>
22 class SparseMatrix<T, indexT, 2, columnMajor>::InnerIterator {
32 bool firstIndex =
true;
35 indexT *counts =
nullptr;
36 indexT *indices =
nullptr;
42 indexT countIndex = 0;
64 InnerIterator(SparseMatrix<T, indexT, 2, columnMajor> &mat, uint32_t col);
71 InnerIterator(SparseMatrix<T, indexT, 2, columnMajor>::Vector &vec);
110 void coeff(T newValue);
122 void __attribute__((hot)) operator++();
125 bool operator==(
const InnerIterator &other);
128 bool operator!=(
const InnerIterator &other);
131 bool operator<(
const InnerIterator &other);
134 bool operator>(
const InnerIterator &other);
137 inline __attribute__((hot))
operator bool() {
return countIndex < indexSize; }
T coeff(uint32_t row, uint32_t col)
Definition: IVCSC_Methods.hpp:17