<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://95.179.246.60/mediawiki/index.php?action=history&amp;feed=atom&amp;title=About_Random</id>
	<title>About Random - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://95.179.246.60/mediawiki/index.php?action=history&amp;feed=atom&amp;title=About_Random"/>
	<link rel="alternate" type="text/html" href="http://95.179.246.60/mediawiki/index.php?title=About_Random&amp;action=history"/>
	<updated>2026-05-08T12:44:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>http://95.179.246.60/mediawiki/index.php?title=About_Random&amp;diff=178&amp;oldid=prev</id>
		<title>Nmingott: imported material</title>
		<link rel="alternate" type="text/html" href="http://95.179.246.60/mediawiki/index.php?title=About_Random&amp;diff=178&amp;oldid=prev"/>
		<updated>2025-05-12T20:39:51Z</updated>

		<summary type="html">&lt;p&gt;imported material&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
Here I list several useful procedure related to randomness&lt;br /&gt;
&lt;br /&gt;
=== Naive approach ===&lt;br /&gt;
&lt;br /&gt;
* Being &amp;#039;&amp;#039;naive&amp;#039;&amp;#039; here means we are not making any questions about how the random number are generated, what distribution they have, and if the sequence will be repeatable at next &amp;#039;&amp;#039;Cuis&amp;#039;&amp;#039; boot.&lt;br /&gt;
* Get a random number between &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;10&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;10 atRandom                                 &amp;quot;=&amp;gt; 8 &amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get a random number chosen from the sequence of integer (10, 11, 12, ..., 19, 20).&lt;br /&gt;
&lt;br /&gt;
 (Interval from: 10 to: 20) atRandom .       &amp;quot;=&amp;gt; 11 &amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Get a random float between &amp;#039;&amp;#039;&amp;#039;[0,1[&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 Random next.                                &amp;quot;=&amp;gt; 0.3395170491838441 &amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Choose a random element from a list&lt;br /&gt;
&lt;br /&gt;
 #(123 &amp;#039;a&amp;#039; &amp;#039;hello&amp;#039; 51) atRandom .         &amp;quot;=&amp;gt; &amp;#039;hello&amp;#039; &amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Shuffle a list of elements&lt;br /&gt;
&lt;br /&gt;
 #(123 &amp;#039;a&amp;#039; &amp;#039;hello&amp;#039; 51) shuffled .         &amp;quot;=&amp;gt; #(&amp;#039;hello&amp;#039; &amp;#039;a&amp;#039; 51 123) &amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Let&amp;#039;s get a bit more sophisticated ===&lt;/div&gt;</summary>
		<author><name>Nmingott</name></author>
	</entry>
</feed>