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<typename Pointer_ = std::size_t, typename Extent_ , class Values_ , class PrimaryIndices_ , class SecondaryIndices_ >
std::vector< Pointer_ > tatami::compress_sparse_triplets (const Extent_ num_primary, Values_ &values, const PrimaryIndices_ &primary_indices, SecondaryIndices_ &secondary_indices)
 

Detailed Description

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