Method

NumCosmoMathDataDist2dinv_pdf

Declaration [src]

void
ncm_data_dist2d_inv_pdf (
  NcmDataDist2d* dist2d,
  NcmMSet* mset,
  gdouble u,
  gdouble v,
  gdouble* x,
  gdouble* y
)

Description [src]

Generates a random number from the inverse of the pdf.

Parameters

mset

Type: NcmMSet

A NcmMSet.

The data is owned by the caller of the method.
u

Type: gdouble

A random number in the range [0,1].

v

Type: gdouble

A random number in the range [0,1].

x

Type: gdouble*

Generated random number.

The argument will be set by the function.
y

Type: gdouble*

Generated random number.

The argument will be set by the function.