|
tatami
C++ API for different matrix representations
|
Options for FragmentedSparseMatrix().
More...
#include <FragmentedSparseMatrix.hpp>
Public Attributes | |
| bool | check = true |
Options for FragmentedSparseMatrix().
| bool tatami::FragmentedSparseMatrixOptions::check = true |
Should the input vectors be checked for validity in the FragmentedSparseMatrix constructor? If true, the constructor will check that:
values and indices have the same length that is equal to the number of rows (for row_sparse = true) or columns (otherwise).values and indices have the same length.indices is ordered and contains non-negative values less than ncol (for row_sparse = true) or nrow (otherwise).This can be disabled for faster construction if the caller knows that the input vectors are valid.