setDistribution

fun setDistribution(distribution: DistributionIfc, cdfLL: Double, cdfUL: Double, truncLL: Double, truncUL: Double)

Parameters

distribution

the distribution to truncate, must not be null

cdfLL

The lower limit of the range of support of the distribution

cdfUL

The upper limit of the range of support of the distribution

truncLL

The truncated lower limit (if moved in from cdfLL), must be >= cdfLL

truncUL

The truncated upper limit (if moved in from cdfUL), must be <= cdfUL