Click or drag to resize

TriangularSample(Double, Double, Double) Method

Generates a sample from the Triangular distribution.

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double Sample(
	double lower,
	double upper,
	double mode
)

Parameters

lower  Double
Lower bound. Range: lower ≤ mode ≤ upper
upper  Double
Upper bound. Range: lower ≤ mode ≤ upper
mode  Double
Mode (most frequent value). Range: lower ≤ mode ≤ upper

Return Value

Double
a sample from the distribution.
See Also