TruncatedDistribution Constructor

Constructs a new TruncatedDistribution from an existing distribution.

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
public TruncatedDistribution(
	ContinuousDistribution distribution,
	double lowerBound,
	double upperBound
)

Parameters

distribution  ContinuousDistribution
The underlying distribution.
lowerBound  Double
The lower bound of the truncation interval.
upperBound  Double
The upper bound of the truncation interval.

Exceptions

ArgumentNullException

distribution is null.

See Also