The OpenD Programming Language

flex

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.

Parameters

pdf Pdf

probability density function of the distribution

Return Value

Type: auto

Flex Generator.

Meta