|
tatami
C++ API for different matrix representations
|
Convert a matrix into a compressed sparse format. More...
Go to the source code of this file.
Classes | |
| struct | tatami::CountCompressedSparseNonZerosOptions |
Options for count_compressed_sparse_non_zeros(). More... | |
| struct | tatami::FillCompressedSparseContentsOptions |
Options for fill_compressed_sparse_contents(). More... | |
| struct | tatami::CompressedSparseContents< Value_, Index_, Pointer_ > |
| Compressed sparse contents. More... | |
| struct | tatami::RetrieveCompressedSparseContentsOptions |
Options for retrieve_compressed_sparse_contents(). More... | |
| struct | tatami::ConvertToCompressedSparseOptions |
Options for convert_to_compressed_sparse(). More... | |
Namespaces | |
| namespace | tatami |
| Flexible representations for matrix data. | |
Functions | |
| template<typename Value_ , typename Index_ , typename Count_ > | |
| void | tatami::count_compressed_sparse_non_zeros (const tatami::Matrix< Value_, Index_ > &matrix, const bool row, Count_ *const output, const CountCompressedSparseNonZerosOptions &options) |
| template<typename InputValue_ , typename InputIndex_ , typename Pointer_ , typename StoredValue_ , typename StoredIndex_ > | |
| void | tatami::fill_compressed_sparse_contents (const tatami::Matrix< InputValue_, InputIndex_ > &matrix, const bool row, const Pointer_ *const pointers, StoredValue_ *const output_value, StoredIndex_ *const output_index, const FillCompressedSparseContentsOptions &options) |
| template<typename StoredValue_ , typename StoredIndex_ , typename StoredPointer_ = std::size_t, typename InputValue_ , typename InputIndex_ > | |
| CompressedSparseContents< StoredValue_, StoredIndex_, StoredPointer_ > | tatami::retrieve_compressed_sparse_contents (const Matrix< InputValue_, InputIndex_ > &matrix, const bool row, const RetrieveCompressedSparseContentsOptions &options) |
| template<typename Value_ , typename Index_ , typename StoredValue_ = Value_, typename StoredIndex_ = Index_, typename StoredPointer_ = std::size_t, typename InputValue_ , typename InputIndex_ > | |
| std::shared_ptr< Matrix< Value_, Index_ > > | tatami::convert_to_compressed_sparse (const Matrix< InputValue_, InputIndex_ > &matrix, const bool row, const ConvertToCompressedSparseOptions &options) |
Convert a matrix into a compressed sparse format.