TriangularSamples(Double, Double, Double) Method |
Generates a sequence of samples from the Triangular distribution.
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static IEnumerable<double> Samples(
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
IEnumerableDoublea sequence of samples from the distribution.
See Also