DiscreteVariable.this

DiscreteVariable constructor computes cumulative density points in place without memory allocation.

struct DiscreteVariable(T)
this
(,)
if (
isNumeric!T
)

Parameters

weights T[]

density points

cumulative bool

optional flag indiciates if weights are already cumulative

Meta