tatami
C++ API for different matrix representations
Loading...
Searching...
No Matches
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< decltype(std::declval< Values_ >().size())> tatami::compress_sparse_triplets (std::size_t nrow, std::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.