|
tatami
C++ API for different matrix representations
|
Options for convert_to_compressed_sparse().
More...
#include <convert_to_compressed_sparse.hpp>
Public Attributes | |
| bool | two_pass = false |
| int | num_threads = 1 |
| bool tatami::ConvertToCompressedSparseOptions::two_pass = false |
Whether to perform the conversion in two passes. Setting this to true allows the function to perform a preliminary pass through matrix to determine the size of each memory allocation. This aims to reduce memory consumption at the cost of some speed.
| int tatami::ConvertToCompressedSparseOptions::num_threads = 1 |
Number of threads to use, for parallelization with parallelize().