tatami_test
Utilities for testing tatami libraries
|
Sparse vector. More...
#include <fetch.hpp>
Public Attributes | |
std::vector< Value_ > | value |
std::vector< Index_ > | index |
Sparse vector.
Value_ | Type of the data. |
Index_ | Integer type for the row/column index. |
std::vector<Index_> tatami_test::SparseVector< Value_, Index_ >::index |
Row/column indices of the non-zero elements. This should have length equal to that of SparseVector::value
, and entries should be sorted.
std::vector<Value_> tatami_test::SparseVector< Value_, Index_ >::value |
Values of the non-zero elements.