Re: [OctDev] Permutations

2010-11-29 Thread martin . ecarnot
29 Novembre 2010 16h10:05 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [OctDev] Permutations man, 29 11 2010 kl. 15:59 +0100, skrev martin.ecar...@free.fr: > Superb! > It works perfectly. Great :-) > Just a remark: I can't find it in octave-forge/stat

Re: [OctDev] Permutations

2010-11-29 Thread martin . ecarnot
1 5 2 3 2 4 2 5 3 4 3 5 4 5 Martin - Mail Original - De: "Søren Hauberg" À: "martin ecarnot" Cc: octave-dev@lists.sourceforge.net Envoyé: Lundi 29 Novembre 2010 15h05:21 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vi

Re: [OctDev] Permutations

2010-11-29 Thread martin . ecarnot
msterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [OctDev] Permutations Hmm, this doesn't happen in the developer sources. The attached version seems to work for me in 3.2.4. Could you try that? Søren man, 29 11 2010 kl. 15:27 +0100, skrev martin.ecar...@free.fr: > Ok, sorr

Re: [OctDev] Permutations

2010-11-29 Thread martin . ecarnot
Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [OctDev] Permutations Hi Sorry about the late reply... fre, 29 10 2010 kl. 11:46 +0200, skrev martin.ecar...@free.fr: > I've been searching for a function that give all permutations of c elements > in n, as "com

Re: [OctDev] Permutations

2010-11-29 Thread Søren Hauberg
man, 29 11 2010 kl. 15:59 +0100, skrev martin.ecar...@free.fr: > Superb! > It works perfectly. Great :-) > Just a remark: I can't find it in octave-forge/statistics ... Currently, the code is only in SVN. Is that where you looked? Søren

Re: [OctDev] Permutations

2010-11-29 Thread Søren Hauberg
5 >2 3 >2 4 >2 5 >3 4 >3 5 >4 5 > > Martin > > > - Mail Original - > De: "Søren Hauberg" > À: "martin ecarnot" > Cc: octave-dev@lists.sourceforge.net > Envoyé: Lundi 29 Novembre 2010 15h05:21

Re: [OctDev] Permutations

2010-11-29 Thread Søren Hauberg
man, 29 11 2010 kl. 14:58 +0100, skrev martin.ecar...@free.fr: > Thanks for your reply and the script. > However, it doesn't work for me if k>2 (Octave 3.2.4) Could you send me an example where it fails (including data, how you calling the function and the output you got) ? Søren --

Re: [OctDev] Permutations

2010-11-26 Thread Søren Hauberg
Hi Sorry about the late reply... fre, 29 10 2010 kl. 11:46 +0200, skrev martin.ecar...@free.fr: > I've been searching for a function that give all permutations of c elements > in n, as "combnk" Matlab function. > I fund in this forum > http://octave.1599824.n4.nabble.com/combinations-td1636272.

[OctDev] Permutations

2010-11-16 Thread martin . ecarnot
Hello, I've been searching for a function that give all permutations of c elements in n, as "combnk" Matlab function. I fund in this forum http://octave.1599824.n4.nabble.com/combinations-td1636272.html a solution using "perms" function. However, "perms" function sets a matrix of prod(2:n) line,

[OctDev] Permutations

2010-10-29 Thread martin . ecarnot
Hello, I've been searching for a function that give all permutations of c elements in n, as "combnk" Matlab function. I fund in this forum http://octave.1599824.n4.nabble.com/combinations-td1636272.html a solution using "perms" function. However, "perms" function sets a matrix of prod(2:n) line,