tatami_tiledb
tatami bindings for TileDB-backed matrices
Loading...
Searching...
No Matches
Classes | Functions
tatami_tiledb Namespace Reference

tatami bindings for TileDB matrices. More...

Classes

class  DenseMatrix
 TileDB-backed dense matrix. More...
 
struct  DenseMatrixOptions
 Options for dense TileDB extraction. More...
 
class  SparseMatrix
 TileDB-backed sparse matrix. More...
 
struct  SparseMatrixOptions
 Options for sparse TileDB extraction. More...
 

Functions

template<class Function_ >
void serialize (Function_ fun)
 

Detailed Description

tatami bindings for TileDB matrices.

Function Documentation

◆ serialize()

template<class Function_ >
void tatami_tiledb::serialize ( Function_  fun)

Serialize a function's execution to avoid simultaneous calls to the TileDB library. By default, no locking is performed as TileDB is thread-safe, but enforcing serialization may be helpful on filesystems with I/O bottlenecks.

Template Parameters
Function_Function that accepts no arguments and returns no outputs.
Parameters
funFunction to be run in a serial section.