tatami
C++ API for different matrix representations
|
Convert sparse data in triplet format to a compressed sparse row/column format. More...
Go to the source code of this file.
Namespaces | |
namespace | tatami |
Flexible representations for matrix data. | |
Functions | |
template<class Values_ , class RowIndices_ , class ColumnIndices_ > | |
std::vector< size_t > | tatami::compress_sparse_triplets (size_t nrow, size_t ncol, Values_ &values, RowIndices_ &row_indices, ColumnIndices_ &column_indices, bool csr) |
Convert sparse data in triplet format to a compressed sparse row/column format.