tatami
C++ API for different matrix representations
Loading...
Searching...
No Matches
tatami::ConvertToFragmentedSparseOptions Struct Reference

Options for convert_to_fragmented_sparse(). More...

#include <convert_to_fragmented_sparse.hpp>

Public Attributes

bool two_pass = false
 
int num_threads = 1
 

Detailed Description

Member Data Documentation

◆ two_pass

bool tatami::ConvertToFragmentedSparseOptions::two_pass = false

Whether to possibly 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.

◆ num_threads

int tatami::ConvertToFragmentedSparseOptions::num_threads = 1

Number of threads to use, for parallelization with parallelize().


The documentation for this struct was generated from the following file: