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_ , typename Pointer_ = decltype(std::declval<Values_>().size()), class PrimaryIndices_ , class SecondaryIndices_ > | |
std::vector< Pointer_ > | tatami::compress_sparse_triplets (std::size_t num_primary, Values_ &values, const PrimaryIndices_ &primary_indices, SecondaryIndices_ &secondary_indices) |
Convert sparse data in triplet format to a compressed sparse row/column format.