Skip to content

Commit 10d311a

Browse files
committed
Added ExponentialStream text.
1 parent 7db2256 commit 10d311a

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docs/manual.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,3 +419,20 @@ public class UniformStream extends RandomStream
419419
----
420420

421421
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

Comments
 (0)