octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61199] Allow 'char' input sets to nchoosek fo


From: Rik
Subject: [Octave-bug-tracker] [bug #61199] Allow 'char' input sets to nchoosek for Matlab compatibility
Date: Thu, 23 Sep 2021 15:23:58 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Follow-up Comment #12, bug #61199 (project octave):

I checked in a changeset
(http://hg.savannah.gnu.org/hgweb/octave/rev/23a907b2dbd5) before some of the
additional tests became available.

I checked in an additional changeset that adds BISTs for exceptional cases of
scalar structs and struct arrays.  See
http://hg.savannah.gnu.org/hgweb/octave/rev/aaee7b170cb1.

Octave's version only works for struct inputs for k = 0, k = 1, k = n, k > n. 
Otherwise the algorithm fails because repelem doesn't seem to work for struct.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61199>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]