Random number generator (included): Difference between revisions

Add Seed7 example
(Add Seed7 example)
Line 204:
<lang R>?RNG
help.search("Distribution", package="stats")</lang>
 
=={{header|Seed7}}==
Seed7 uses a linear congruential generator to compute pseudorandom numbers.
Usually random number generators deliver a random value in a fixed range,
The Seed7 function [http://seed7.sourceforge.net/libraries/integer.htm#rand%28in_integer,in_integer%29 rand(low, high)]
delivers a random number in the requested range [low, high].
Seed7 overloads the ''rand'' functions for the types char, boolean,
[http://seed7.sourceforge.net/libraries/bigint.htm#rand%28in_bigInteger,in_bigInteger%29 bigInteger],
[http://seed7.sourceforge.net/libraries/float.htm#rand%28ref_float,ref_float%29 float] and others.
 
=={{header|Tcl}}==