Gsl.RanDiscrete – gsl Reference Manual
RanDiscrete
Object Hierarchy:
Gsl.RanDiscrete
Gsl.RanDiscrete
Gsl.RanDiscrete
Description:
[
Compact
]
[
CCode
( cname =
"gsl_ran_discrete_t"
, cprefix =
"gsl_ran_discrete_"
) ]
public
class
RanDiscrete
Namespace:
Gsl
Package:
gsl
Content:
Creation methods:
public
RanDiscrete
(
size_t
K,
double
* P)
Methods:
public
size_t
discrete
(
RNG
g)
public
double
pdf
(
size_t
k)
Fields:
public
size_t
*
A
public
double
*
F
public
size_t
K
2022 vala-language.org