Attach a "number of observations" variable to any distribution. More...
#include <vpdt_num_obs.h>

Public Types | |
| typedef dist_t::field_type | field_type |
| the data type to represent a point in the field. More... | |
| typedef dist_t | parent_type |
| define the parent type. More... | |
| typedef vpdt_field_traits< field_type >::scalar_type | T |
| define the scalar type (normally specified by template parameter T). More... | |
Public Member Functions | |
| vpdt_num_obs () | |
| Constructor. More... | |
| vpdt_num_obs (const dist_t &d, const T &n_obs=T(0)) | |
| Constructor - somewhat like a copy constructor. More... | |
Public Attributes | |
| T | num_observations |
| The number of observations. More... | |
Attach a "number of observations" variable to any distribution.
The number of observations is non-integral because there may be partial or weighted observations.
Definition at line 22 of file vpdt_num_obs.h.
| typedef dist_t::field_type vpdt_num_obs< dist_t >::field_type |
the data type to represent a point in the field.
Definition at line 26 of file vpdt_num_obs.h.
| typedef dist_t vpdt_num_obs< dist_t >::parent_type |
define the parent type.
Definition at line 28 of file vpdt_num_obs.h.
| typedef vpdt_field_traits<field_type>::scalar_type vpdt_num_obs< dist_t >::T |
define the scalar type (normally specified by template parameter T).
Definition at line 30 of file vpdt_num_obs.h.
|
inline |
Constructor.
Definition at line 33 of file vpdt_num_obs.h.
|
inline |
Constructor - somewhat like a copy constructor.
Definition at line 36 of file vpdt_num_obs.h.
| T vpdt_num_obs< dist_t >::num_observations |
The number of observations.
Definition at line 40 of file vpdt_num_obs.h.
1.8.15