Sage Modeling and Simulation Library

IDoubleDistribution..::..SetCDFInterval Method

Sets the interval on which the CDF is queried for X. The RNG internally generates a number 'x' on (0..1), and CDF(x) is the output random number on the distribution. For the purpose of generating a schedule, running monte-carlo simulations of schedules and other related tasks, we may want to generate randoms on just a portion of that CDF, say instead of (0..1), perhaps (0..0.95), or if we want the mean value, we would use an interval of (0.5,0.5).

Namespace:  Highpoint.Sage.Mathematics
Assembly:  Sage4 (in Sage4.dll)


void SetCDFInterval(
	double low,
	double high


Type: Double
The low bound (inclusive).
Type: Double
The high bound (exclusive, unless low and high are equal).