<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Math_Combinatorics</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/16874" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/16874">
      <title>Math_Combinatorics: Feature/Change Request 16874 [Open] Permutations with repetition</title>
      <link>http://pear.php.net/bugs/16874</link>
      <content:encoded><![CDATA[<pre>Math_Combinatorics Feature/Change Request
Reported by ifeghali
2009-12-05T08:19:08+00:00
PHP: 5.3.0 OS: NA Package Version: 1.0.0

Description:
------------
It would be great to generate permutations with repetitions as well. For 
example:

Given a set = [A, B, C]

It's permutation, two by two is:
P{2} = [A,B] [A,C] [B,A] [B,C] [C,A] [C,B]

I propose a switch (function argument) that would make the output:
PR{2} = [A,A] [A,B] [A,C] [B,A] [B,B] [B,C] [C,A] [C,B] [C,C]

That would me able to specify a higher subset size. For the above 
example, currently the highest subset size possible is 3. With repetitions 
that number can be any positive integer. For example, it makes sense to 
have:

PR{5} = [A,A,A,A,A] [A,A,A,A,B] ...</pre>]]></content:encoded>
      <description><![CDATA[<pre>Math_Combinatorics Feature/Change Request
Reported by ifeghali
2009-12-05T08:19:08+00:00
PHP: 5.3.0 OS: NA Package Version: 1.0.0

Description:
------------
It would be great to generate permutations with repetitions as well. For 
example:

Given a set = [A, B, C]

It's permutation, two by two is:
P{2} = [A,B] [A,C] [B,A] [B,C] [C,A] [C,B]

I propose a switch (function argument) that would make the output:
PR{2} = [A,A] [A,B] [A,C] [B,A] [B,B] [B,C] [C,A] [C,B] [C,C]

That would me able to specify a higher subset size. For the above 
example, currently the highest subset size possible is 3. With repetitions 
that number can be any positive integer. For example, it makes sense to 
have:

PR{5} = [A,A,A,A,A] [A,A,A,A,B] ...</pre>]]></description>
      <dc:date>2009-12-05T08:20:35+00:00</dc:date>
      <dc:creator>ifeghali &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Math_Combinatorics Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
