<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, subscripts and ordering</title>
    <link>http://www.mapleprimes.com/questions/37078-Subscripts-And-Ordering</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Fri, 12 Jun 2026 02:11:31 GMT</lastBuildDate>
    <pubDate>Fri, 12 Jun 2026 02:11:31 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, subscripts and ordering</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, subscripts and ordering</title>
      <link>http://www.mapleprimes.com/questions/37078-Subscripts-And-Ordering</link>
    </image>
    <item>
      <title>suggestion</title>
      <link>http://www.mapleprimes.com/questions/37078-Subscripts-And-Ordering?ref=Feed:MaplePrimes:subscripts and ordering:Comments#answer65005</link>
      <itunes:summary>&lt;p&gt;You might want to use the RandomTools package to generate the lists of numbers:&lt;/p&gt;
&lt;pre&gt;
n := 10: # I'm guessing n is number of element in list
L := RandomTools:-Generate(list(float(range=0..1,digits=10,method=uniform), n));
L := sort(L);
&lt;/pre&gt;
&lt;p&gt;Rather than assigning to variables, it is easier to operate on each:&lt;/p&gt;
&lt;pre&gt;
[seq(max(abs(i/n - L[i]), abs((i-1)/n-L[i])), i = 1..n)];
&lt;/pre&gt;
&lt;p&gt;I'll let you figure out the loop...&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;You might want to use the RandomTools package to generate the lists of numbers:&lt;/p&gt;
&lt;pre&gt;
n := 10: # I'm guessing n is number of element in list
L := RandomTools:-Generate(list(float(range=0..1,digits=10,method=uniform), n));
L := sort(L);
&lt;/pre&gt;
&lt;p&gt;Rather than assigning to variables, it is easier to operate on each:&lt;/p&gt;
&lt;pre&gt;
[seq(max(abs(i/n - L[i]), abs((i-1)/n-L[i])), i = 1..n)];
&lt;/pre&gt;
&lt;p&gt;I'll let you figure out the loop...&lt;/p&gt;</description>
      <guid>65005</guid>
      <pubDate>Fri, 03 Jul 2009 20:36:51 Z</pubDate>
      <itunes:author>Joe
 Riel
</itunes:author>
      <author>Joe
 Riel
</author>
    </item>
    <item>
      <title>Statistics</title>
      <link>http://www.mapleprimes.com/questions/37078-Subscripts-And-Ordering?ref=Feed:MaplePrimes:subscripts and ordering:Comments#answer65006</link>
      <itunes:summary>&lt;p&gt;Another way is to use Sample in the Statistics package.&lt;/p&gt;
&lt;pre&gt;
&amp;gt; with(Statistics):
&amp;nbsp;&amp;nbsp; U:= RandomVariable(Uniform(0,1));
&amp;nbsp;&amp;nbsp; S:= sort(Sample(U, 6));
&amp;nbsp;&amp;nbsp; 
&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Another way is to use Sample in the Statistics package.&lt;/p&gt;
&lt;pre&gt;
&amp;gt; with(Statistics):
&amp;nbsp;&amp;nbsp; U:= RandomVariable(Uniform(0,1));
&amp;nbsp;&amp;nbsp; S:= sort(Sample(U, 6));
&amp;nbsp;&amp;nbsp; 
&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>65006</guid>
      <pubDate>Fri, 03 Jul 2009 20:55:37 Z</pubDate>
      <itunes:author>Robert Israel</itunes:author>
      <author>Robert Israel</author>
    </item>
  </channel>
</rss>