#include <defm-bones.hpp>
|
| DEFM (int *id, int *y, double *x, size_t id_length, size_t y_ncol, size_t x_ncol, size_t m_order, bool copy_data=true, bool column_major=true) |
|
DEFMModel & | get_model () |
|
void | init () |
|
void | simulate (std::vector< double > par, int *y_out) |
|
size_t | get_n_y () const |
|
size_t | get_n_obs () const |
|
size_t | get_n_covars () const |
|
size_t | get_m_order () const |
|
size_t | get_n_rows () const |
|
const int * | get_Y () const |
|
const int * | get_ID () const |
|
const double * | get_X () const |
|
barry::FreqTable< int > | motif_census (std::vector< size_t > idx) |
|
std::vector< double > | logodds (const std::vector< double > &par, size_t i, size_t j) |
|
void | set_names (std::vector< std::string > Y_names_, std::vector< std::string > X_names_) |
|
const std::vector< std::string > & | get_Y_names () const |
|
const std::vector< std::string > & | get_X_names () const |
|
void | print () const |
|
std::vector< bool > | is_motif () |
|
bool | get_column_major () const noexcept |
|
Definition at line 4 of file defm-bones.hpp.
◆ DEFM()
DEFM::DEFM |
( |
int * |
id, |
|
|
int * |
y, |
|
|
double * |
x, |
|
|
size_t |
id_length, |
|
|
size_t |
y_ncol, |
|
|
size_t |
x_ncol, |
|
|
size_t |
m_order, |
|
|
bool |
copy_data = true , |
|
|
bool |
column_major = true |
|
) |
| |
|
inline |
◆ get_column_major()
bool DEFM::get_column_major |
( |
| ) |
const |
|
inlinenoexcept |
◆ get_ID()
const int * DEFM::get_ID |
( |
| ) |
const |
|
inline |
◆ get_m_order()
size_t DEFM::get_m_order |
( |
| ) |
const |
|
inline |
◆ get_model()
◆ get_n_covars()
size_t DEFM::get_n_covars |
( |
| ) |
const |
|
inline |
◆ get_n_obs()
size_t DEFM::get_n_obs |
( |
| ) |
const |
|
inline |
◆ get_n_rows()
size_t DEFM::get_n_rows |
( |
| ) |
const |
|
inline |
◆ get_n_y()
size_t DEFM::get_n_y |
( |
| ) |
const |
|
inline |
◆ get_X()
const double * DEFM::get_X |
( |
| ) |
const |
|
inline |
◆ get_X_names()
const std::vector< std::string > & DEFM::get_X_names |
( |
| ) |
const |
|
inline |
◆ get_Y()
const int * DEFM::get_Y |
( |
| ) |
const |
|
inline |
◆ get_Y_names()
const std::vector< std::string > & DEFM::get_Y_names |
( |
| ) |
const |
|
inline |
◆ init()
◆ is_motif()
std::vector< bool > DEFM::is_motif |
( |
| ) |
|
|
inline |
◆ logodds()
std::vector< double > DEFM::logodds |
( |
const std::vector< double > & |
par, |
|
|
size_t |
i, |
|
|
size_t |
j |
|
) |
| |
|
inline |
◆ motif_census()
barry::FreqTable< int > DEFM::motif_census |
( |
std::vector< size_t > |
idx | ) |
|
|
inline |
◆ print()
void DEFM::print |
( |
| ) |
const |
|
inline |
◆ set_names()
void DEFM::set_names |
( |
std::vector< std::string > |
Y_names_, |
|
|
std::vector< std::string > |
X_names_ |
|
) |
| |
|
inline |
◆ simulate()
void DEFM::simulate |
( |
std::vector< double > |
par, |
|
|
int * |
y_out |
|
) |
| |
|
inline |
The documentation for this class was generated from the following files: