Previous Next


TruncMax Property (RDKDistribution Object)

Description

Sets or retrieves the truncation maximum of the distribution. No samples can be drawn above this limit.

Syntax

object.TruncMax

Arguments

None.

Return Value

(Double) – the truncation limit. If no limit is set the value is RDKPlusInfinity.

Example

'Make a Normal(0,1) distribution with an upper truncation limit of 3
Dim dist as New Distribution
With dist
    .DistType = RDKDistTypeNormal
    .Arg(1) = 0
    .Arg(2) = 1
    .TruncMax = 3
End With