The OpenD Programming Language

DiscreteVariable.this

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

struct DiscreteVariable(T)
this
(,)

Parameters

weights T[]

density points

cumulative bool

optional flag indiciates if weights are already cumulative

Meta