Patterns in static

Apophenia

Outline | Index |
 
Loading...
Searching...
No Matches
apop_pmf_settings Struct Reference

#include <apop.h>

Data Fields

gsl_vector * cmf
 
int * cmf_refct
 
char draw_index
 
long double total_weight
 

Detailed Description

Settings to accompany the apop_pmf.

Field Documentation

◆ cmf

gsl_vector * apop_pmf_settings::cmf

A cumulative mass function, for the purposes of making random draws.

◆ cmf_refct

int * apop_pmf_settings::cmf_refct

For internal use, so I can garbage-collect the CMF when needed.

◆ draw_index

char apop_pmf_settings::draw_index

If 'y', then draws from the PMF return the integer index of the row drawn. If 'n' (the default), then return the data in the vector/matrix elements of the data set.

◆ total_weight

long double apop_pmf_settings::total_weight

Keep the total weight, in case the input weights aren't normalized to sum to one.

Autogenerated by doxygen (Debian ).