barry: Your go-to motif accountant  0.0-1
Full enumeration of sample space and fast count of sufficient statistics for binary arrays
defm-meat.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFM_RANGES(a)
 
#define DEFM_LOOP_ARRAYS(a)    for (size_t a = 0u; a < (nobs_i - M_order); ++a)
 

Functions

std::vector< double > keygen_defm (const DEFMArray &Array_, DEFMCounterData *data)
 

Macro Definition Documentation

◆ DEFM_LOOP_ARRAYS

#define DEFM_LOOP_ARRAYS (   a)     for (size_t a = 0u; a < (nobs_i - M_order); ++a)

Definition at line 36 of file defm-meat.hpp.

◆ DEFM_RANGES

#define DEFM_RANGES (   a)
Value:
size_t start_i = start_end[a * 2u];\
size_t end_i = start_end[a * 2u + 1u];\
size_t nobs_i = end_i - start_i + 1u;

Definition at line 31 of file defm-meat.hpp.

Function Documentation

◆ keygen_defm()

std::vector< double > keygen_defm ( const DEFMArray Array_,
DEFMCounterData data 
)
inline

Definition at line 4 of file defm-meat.hpp.