probability density function of the distribution
logarithmic pdf
first derivative of logarithmic pdf
second derivative of logarithmic pdf
T_c family value
non-overlapping partitioning with at most one inflection point per interval
efficiency of the Flex algorithm
maximal number of points to use for the hat/squeeze approximation
Flex Generator.
The Transformed Density Rejection with Inflection Points (Flex) algorithm can sample from arbitrary distributions given its density function f, its first two derivatives and a partitioning into intervals with at most one inflection point. The partitioning needs to be mutually exclusive and sorted.