vSMC  v3.0.0
Scalable Monte Carlo
Functions
vsmc::Weight

Functions

void vsmc_weight_add_log (vsmc_weight weight, const double *first, int stride)
 vsmc::Weight::add_log More...
 
void vsmc_weight_assign (vsmc_weight weight, vsmc_weight other)
 vsmc::Weight::operator= More...
 
const double * vsmc_weight_data (vsmc_weight weight)
 vsmc::Weight::data More...
 
void vsmc_weight_delete (vsmc_weight *weight_ptr)
 vsmc::Weight::~Weight More...
 
size_t vsmc_weight_draw (vsmc_weight weight, vsmc_rng rng)
 vsmc::Weight::draw More...
 
double vsmc_weight_ess (vsmc_weight weight)
 vsmc::Weight::ess More...
 
void vsmc_weight_mul (vsmc_weight weight, const double *first, int stride)
 vsmc::Weight::mul More...
 
vsmc_weight vsmc_weight_new (size_t n)
 vsmc::Weight::Weight More...
 
void vsmc_weight_read_weight (vsmc_weight weight, double *first, int stride)
 vsmc::Weight::read_weight More...
 
void vsmc_weight_reserve (vsmc_weight weight, size_t n)
 vsmc::Weight::reserve More...
 
void vsmc_weight_resize (vsmc_weight weight, size_t n)
 vsmc::Weight::resize More...
 
void vsmc_weight_set (vsmc_weight weight, const double *first, int stride)
 vsmc::Weight::set More...
 
void vsmc_weight_set_equal (vsmc_weight weight)
 vsmc::Weight::set_equal More...
 
void vsmc_weight_set_log (vsmc_weight weight, const double *first, int stride)
 vsmc::Weight::set_log More...
 
void vsmc_weight_shrink_to_fit (vsmc_weight weight)
 vsmc::Weight::shrink_to_fit More...
 
size_t vsmc_weight_size (vsmc_weight weight)
 vsmc::Weight::size More...
 

Detailed Description

Function Documentation

void vsmc_weight_add_log ( vsmc_weight  weight,
const double *  first,
int  stride 
)
void vsmc_weight_assign ( vsmc_weight  weight,
vsmc_weight  other 
)

vsmc::Weight::operator=

const double* vsmc_weight_data ( vsmc_weight  weight)
void vsmc_weight_delete ( vsmc_weight weight_ptr)

vsmc::Weight::~Weight

size_t vsmc_weight_draw ( vsmc_weight  weight,
vsmc_rng  rng 
)
double vsmc_weight_ess ( vsmc_weight  weight)
void vsmc_weight_mul ( vsmc_weight  weight,
const double *  first,
int  stride 
)
vsmc_weight vsmc_weight_new ( size_t  n)
void vsmc_weight_read_weight ( vsmc_weight  weight,
double *  first,
int  stride 
)
void vsmc_weight_reserve ( vsmc_weight  weight,
size_t  n 
)
void vsmc_weight_resize ( vsmc_weight  weight,
size_t  n 
)
void vsmc_weight_set ( vsmc_weight  weight,
const double *  first,
int  stride 
)
void vsmc_weight_set_equal ( vsmc_weight  weight)
void vsmc_weight_set_log ( vsmc_weight  weight,
const double *  first,
int  stride 
)
void vsmc_weight_shrink_to_fit ( vsmc_weight  weight)
size_t vsmc_weight_size ( vsmc_weight  weight)