On 13.06.21 23:34, Riccardo (Jack) Lucchetti wrote:
On Sun, 13 Jun 2021, Sven Schreiber wrote:
> Am 13.06.2021 um 18:45 schrieb Summers, Peter:
>> Once everything’s finalized I’d be glad to update the
>> matlab_utilities package to include this functionality (which is
>> very nice, btw).
>
> OK, excellent. We'll be glad to offer assistance if something's not
> clear, for example how to add the dependency on the 'extra' addon to
> your package, if indeed the new function will live there.
If matlab_utilities included a dependency on extra, we could just add
nchoosek() as a wrapper, using the new "numeric" type to tell apart
the cases when to use bincoeff() and the choose() or combinations()
function from extra.
Good idea, although nobody here knows about the generic "numeric" type
yet, I guess. (But it's in the changelog alright) This would require
brand new gretl 2021b, however.
cheers
sven