Superb!
It works perfectly.

Thank you

Just a remark: I can't find it in octave-forge/statistics ...

Martin

 

----- Mail Original -----
De: "Søren Hauberg" <[email protected]>
À: "martin ecarnot" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 29 Novembre 2010 15h41:36 GMT +01:00 Amsterdam / 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 [email protected]:
> Ok, sorry.
> 
> >>> combnk(1:5,3)
> error: number of columns must match (1 != 3)
> error: called from:
> error:   /H/octave/combnk.m at line 58, column 14
> error:   /H/octave/combnk.m at line 38, column 12
> 
> If k<3, it's allright:
> >>> combnk(1:5,2)
> 
> ans =
> 
>    1   2
>    1   3
>    1   4
>    1   5
>    2   3
>    2   4
>    2   5
>    3   4
>    3   5
>    4   5
> 
> Martin
> 
> 
> ----- Mail Original -----
> De: "Søren Hauberg" <[email protected]>
> À: "martin ecarnot" <[email protected]>
> Cc: [email protected]
> Envoyé: Lundi 29 Novembre 2010 15h05:21 GMT +01:00 Amsterdam / Berlin / Berne 
> / Rome / Stockholm / Vienne
> Objet: Re: [OctDev] Permutations
> 
> man, 29 11 2010 kl. 14:58 +0100, skrev [email protected]:
> > 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
> 


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to