21 template <
typename T,
typename indexT,
bool columnMajor>
22 class SparseMatrix<T, indexT, 2, columnMajor>::InnerIterator {
32 indexT *counts =
nullptr;
33 indexT *indices =
nullptr;
39 indexT countIndex = 0;
61 InnerIterator(SparseMatrix<T, indexT, 2, columnMajor> &mat, uint32_t col);
68 InnerIterator(SparseMatrix<T, indexT, 2, columnMajor>::Vector &vec);
107 void coeff(T newValue);
118 void __attribute__((hot)) operator++();
121 bool operator==(
const InnerIterator &other);
124 bool operator!=(
const InnerIterator &other);
127 bool operator<(
const InnerIterator &other);
130 bool operator>(
const InnerIterator &other);
133 inline __attribute__((hot))
operator bool() {
return countIndex < indexSize; }
T coeff(uint32_t row, uint32_t col)
Definition: IVCSC_Methods.hpp:17