barry: Your go-to motif accountant
0.0-1
Full enumeration of sample space and fast count of sufficient statistics for binary arrays
barry-macros.hpp
Go to the documentation of this file.
1
#ifndef BARRY_BARRY_MACROS_HPP
2
#define BARRY_BARRY_MACROS_HPP
3
4
#define BARRY_ZERO Cell<Cell_Type>(0.0)
5
#define BARRY_ZERO_DENSE static_cast<Cell_Type>(0.0)
6
7
#define BARRY_ONE Cell<Cell_Type>(1.0)
8
#define BARRY_ONE_DENSE static_cast<Cell_Type>(1.0)
9
10
#define BARRY_UNUSED(expr) do { (void)(expr); } while (0);
11
12
#if defined(_OPENMP) || defined(__OPENMP)
13
#define BARRY_NCORES_ARG(default) size_t ncores default
14
#else
15
#define BARRY_NCORES_ARG(default) size_t ncores default
16
#endif
17
18
19
#endif
include
barry
barry-macros.hpp
Generated on Thu Nov 16 2023 23:48:35 for barry: Your go-to motif accountant by
1.9.1