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: Wed, 22 Sep 2021 17:41:35 -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

Update of bug #61199 (project octave):

              Item Group:                   Other => Matlab Compatibility   
                  Status:                    None => Confirmed              
                 Release:                   6.3.0 => dev                    
                 Summary: Input validation for nchoosek => Allow 'char' input
sets to nchoosek for Matlab compatibility

    _______________________________________________________

Follow-up Comment #3:

Changed the Summary and Item Group to be about Matlab compatibility.

The changes will need to be a little deeper.  For example, when k = 0 the
following code is executed


  elseif (k == 0)
    C = zeros (1,0);


This will return a numeric, rather than char, result for


nchoosek ('A':'C', 0)




    _______________________________________________________

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]