You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/manual.adoc
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -419,3 +419,20 @@ public class UniformStream extends RandomStream
419
419
----
420
420
421
421
The range covers the interval specified by lo and hi. StreamSelect indicates the offset in the random number sequence to begin sampling, and MGSeed and LCGSeed can be used to modify the seed values used by the RandomStream class.
422
+
423
+
=== ExponentialStream
424
+
425
+
The ExponentialStream class returns an exponentially distributed stream of random numbers with mean value specified by mean.
426
+
427
+
----
428
+
public class ExponentialStream extends RandomStream
429
+
{
430
+
public ExponentialStream (double mean);
431
+
public ExponentialStream (double mean, int StreamSelect);
432
+
public ExponentialStream (double mean, int StreamSelect, long MGSeed, long LCGSeed);
433
+
434
+
public double getNumber () throws IOException, ArithmeticException;
435
+
};
436
+
----
437
+
438
+
StreamSelect indicates the offset in the random number sequence to begin sampling, and MGSeed and LCGSeed can be used to modify the seed values used by the RandomStream class.
0 commit comments