Top |
void | ncm_data_dist2d_set_size () |
guint | ncm_data_dist2d_get_size () |
NcmMatrix * | ncm_data_dist2d_get_data () |
void | ncm_data_dist2d_inv_pdf () |
This object is designate to data that is described by a bivariate and arbitrary distribution.
void ncm_data_dist2d_set_size (NcmDataDist2d *dist2d
,guint np
);
Sets the data size to np
.
[virtual set_size]
guint
ncm_data_dist2d_get_size (NcmDataDist2d *dist2d
);
Gets the data size.
[virtual get_size]
NcmMatrix *
ncm_data_dist2d_get_data (NcmDataDist2d *dist2d
);
Gets the data NcmMatrix.
void ncm_data_dist2d_inv_pdf (NcmDataDist2d *dist2d
,NcmMSet *mset
,gdouble u
,gdouble v
,gdouble *x
,gdouble *y
);
Generates a random number from the inverse of the pdf.
[virtual inv_pdf]
dist2d |
||
mset |
a NcmMSet |
|
u |
a random number in the range [0,1] |
|
v |
a random number in the range [0,1] |
|
x |
generated random number. |
[out] |
y |
generated random number. |
[out] |