On 19 April 2012 23:26, Juan Pablo Carbajal <carba...@ifi.uzh.ch> wrote:
> 2012/4/19 Carnë Draug <carandraug+...@gmail.com>:
>> Hi everybody
>>
>> I was looking at the combinatorics package which is really small (3
>> functions) and thought of merging into something else for ease of
>> maintenance.
>>
>> The first function, combs, does exactly what nchoosek but slower (this
>> is mentioned on the function help text). The only difference I see
>> between them is that combs will accept a string but I fail to see the
>> use of it on such case and even such case can be done with char
>> (nchoosek (double(str), k)).
>>
>> The other 2 functions are for interger partition (partint and
>> partcnt). Anyone has a suggestion where they should go?
>>
>> Carnë
>>
>
> The partition functions are really useful. Maybe they can both be
> placed in miscellaneous.

nchoosek() is in specfun so combs() should probably be moved to that
section as well (even though we are deprecating it). partcnt() is the
partition function so I'm thinking specfun too. Since partint() shares
the same header, it's probably better to also move it there.

Carnë

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to