File matrix_sparse_set.hpp

Typedefs

template<typename Matrix>
using SparseSetMatrixDecorator = IterableSparseSetViewDecorator<MatrixDecorator<Matrix>>

Provides random read and write access, as well as row-wise read and write access via iterators, to values stored in a sparse matrix in the list of lists (LIL) format.

Template Parameters:

Matrix – The type of the matrix

template<typename T>
class SparseSetMatrix : public IterableSparseSetViewDecorator<SparseSetView<T>>
#include <matrix_sparse_set.hpp>

A two-dimensional matrix that provides random read and write access, as well as row-wise read and write access via iterators, to values stored in a sparse matrix in the list of lists (LIL) format.

Template Parameters:

T – The type of the values that are stored in the matrix

Public Functions

inline SparseSetMatrix(uint32 numRows, uint32 numCols)
Parameters:
  • numRows – The number of rows in the matrix

  • numCols – The number of columns in the matrix