Random number generator (included): Difference between revisions
Content added Content deleted
(Add Seed7 example) |
(Added Nemerle) |
||
Line 134: | Line 134: | ||
=={{header|MATLAB}}== |
=={{header|MATLAB}}== |
||
MATLAB uses the Mersenne Twister as its default random number generator. Information about how the "rand()" function is utilized is given at [http://www.mathworks.com/help/techdoc/ref/rand.html MathWorks]. |
MATLAB uses the Mersenne Twister as its default random number generator. Information about how the "rand()" function is utilized is given at [http://www.mathworks.com/help/techdoc/ref/rand.html MathWorks]. |
||
=={{header|Nemerle}}== |
|||
Uses .Net Random class; so, as mentioned under C#, above, implements Knuth's subtractive random number generator algorithm. |
|||
Random class documentation at [http://msdn.microsoft.com/en-us/library/system.random.aspx#remarksToggle MSDN]. |
|||
=={{header|OCaml}}== |
=={{header|OCaml}}== |