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

Go to the source code of this file.

Functions

double update_normalizing_constant (const std::vector< double > &params, const double *support, size_t k, size_t n)
 
double likelihood_ (const double *stats_target, const std::vector< double > &params, const double normalizing_constant, size_t n_params, bool log_=false)
 

Function Documentation

◆ likelihood_()

double likelihood_ ( const double *  stats_target,
const std::vector< double > &  params,
const double  normalizing_constant,
size_t  n_params,
bool  log_ = false 
)
inline

Definition at line 71 of file model-meat.hpp.

◆ update_normalizing_constant()

double update_normalizing_constant ( const std::vector< double > &  params,
const double *  support,
size_t  k,
size_t  n 
)
inline

Definition at line 9 of file model-meat.hpp.