DiscreteVariable constructor computes cumulative density points in place without memory allocation.
density points
optional flag indiciates if weights are already cumulative
See Implementation
DiscreteVariable constructor computes cumulative density points in place without memory allocation.