tatami
C++ API for different matrix representations
Loading...
Searching...
No Matches
Namespaces | Functions
compress_sparse_triplets.hpp File Reference

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_ttatami::compress_sparse_triplets (size_t nrow, size_t ncol, Values_ &values, RowIndices_ &row_indices, ColumnIndices_ &column_indices, bool csr)
 

Detailed Description

Convert sparse data in triplet format to a compressed sparse row/column format.