|
tatami_python
R bindings to tatami matrices
|
Utilities for safe parallelization. More...
#include "pybind11/pybind11.h"#include "subpar/subpar.hpp"#include <optional>Go to the source code of this file.
Namespaces | |
| namespace | tatami_python |
| tatami bindings for arbitrary Python matrices. | |
Macros | |
| #define | TATAMI_PYTHON_SERIALIZE ::tatami_python::lock |
Functions | |
| template<class Function_ , class Index_ > | |
| void | tatami_python::parallelize (const Function_ fun, const Index_ tasks, int threads) |
| template<typename Function_ > | |
| void | tatami_python::lock (Function_ fun) |
Utilities for safe parallelization.
| #define TATAMI_PYTHON_SERIALIZE ::tatami_python::lock |
Macro function that accepts a function object and executes it in a serial context.