Click or drag to resize

ALFGeneratorNextDouble(Double) Method

Returns a nonnegative floating point random number less than the specified maximum.

Namespace: Altaxo.Calc.Probability
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public override double NextDouble(
	double maxValue
)

Parameters

maxValue  Double
The exclusive upper bound of the random number to be generated. maxValue must be greater than or equal to 0.0.

Return Value

Double
A double-precision floating point number greater than or equal to 0.0, and less than maxValue; that is, the range of return values includes 0 but not maxValue.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionmaxValue is less than 0.
See Also