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

Go to the source code of this file.

Macros

#define BDENSE_TYPE()   BArrayDense<Cell_Type, Data_Type>
 
#define BDENSE_TEMPLATE_ARGS()   <typename Cell_Type, typename Data_Type>
 
#define BDENSE_TEMPLATE(a, b)    template BDENSE_TEMPLATE_ARGS() inline a BDENSE_TYPE()::b
 
#define ROW(a)   this->el_ij[a]
 
#define COL(a)   this->el_ji[a]
 
#define POS(a, b)   (b)*N + (a)
 
#define POS_N(a, b, c)   (b)*(c) + (a)
 

Functions

template BDENSE_TEMPLATE_ARGS () inline void checkdim_(const BDENSE_TYPE() &lhs
 
template const BDENSE_TYPE () &rhs)
 
 BDENSE_TEMPLATE (BDENSE_TYPE()&, operator+=)(const BDENSE_TYPE() &rhs)
 
 BDENSE_TEMPLATE (BDENSE_TYPE()&, operator-=)(const BDENSE_TYPE() &rhs)
 
 BDENSE_TEMPLATE (BDENSE_TYPE()&, operator*=)(const Cell_Type &rhs)
 
 BDENSE_TEMPLATE (BDENSE_TYPE()&, operator/=)(const Cell_Type &rhs)
 

Macro Definition Documentation

◆ BDENSE_TEMPLATE

#define BDENSE_TEMPLATE (   a,
 
)     template BDENSE_TEMPLATE_ARGS() inline a BDENSE_TYPE()::b

Definition at line 11 of file barraydense-meat-operators.hpp.

◆ BDENSE_TEMPLATE_ARGS

#define BDENSE_TEMPLATE_ARGS ( )    <typename Cell_Type, typename Data_Type>

Definition at line 9 of file barraydense-meat-operators.hpp.

◆ BDENSE_TYPE

#define BDENSE_TYPE ( )    BArrayDense<Cell_Type, Data_Type>

Definition at line 7 of file barraydense-meat-operators.hpp.

◆ COL

#define COL (   a)    this->el_ji[a]

Definition at line 15 of file barraydense-meat-operators.hpp.

◆ POS

#define POS (   a,
 
)    (b)*N + (a)

Definition at line 16 of file barraydense-meat-operators.hpp.

◆ POS_N

#define POS_N (   a,
  b,
 
)    (b)*(c) + (a)

Definition at line 17 of file barraydense-meat-operators.hpp.

◆ ROW

#define ROW (   a)    this->el_ij[a]

Definition at line 14 of file barraydense-meat-operators.hpp.

Function Documentation

◆ BDENSE_TEMPLATE() [1/4]

BDENSE_TEMPLATE ( BDENSE_TYPE()&  ,
operator*   
) const &

Definition at line 90 of file barraydense-meat-operators.hpp.

◆ BDENSE_TEMPLATE() [2/4]

BDENSE_TEMPLATE ( BDENSE_TYPE()&  ,
operator+   
) const &

Definition at line 34 of file barraydense-meat-operators.hpp.

◆ BDENSE_TEMPLATE() [3/4]

BDENSE_TEMPLATE ( BDENSE_TYPE()&  ,
operator-   
) const &

Definition at line 61 of file barraydense-meat-operators.hpp.

◆ BDENSE_TEMPLATE() [4/4]

BDENSE_TEMPLATE ( BDENSE_TYPE()&  ,
operator/   
) const &

Definition at line 101 of file barraydense-meat-operators.hpp.

◆ BDENSE_TEMPLATE_ARGS()

template BDENSE_TEMPLATE_ARGS ( ) const &

◆ BDENSE_TYPE()

template const BDENSE_TYPE ( ) &

Definition at line 22 of file barraydense-meat-operators.hpp.