TriangularSamples(Random, 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(
Random rnd,
double lower,
double upper,
double mode
)
Parameters
- rnd Random
- The random number generator to use.
- 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