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

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

[Octave-bug-tracker] [bug #58116] Matlab Compatibility: missing option "


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #58116] Matlab Compatibility: missing option "all" for several functions - sum, mean, and others
Date: Sat, 4 Apr 2020 18:58:02 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?58116>

                 Summary: Matlab Compatibility: missing option "all" for
several functions - sum, mean, and others
                 Project: GNU Octave
            Submitted by: nrjank
            Submitted on: Sat 04 Apr 2020 06:58:00 PM EDT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Nicholas Jankowski
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

in v2018b, Matlab added the 'all' option for a number of functions.  

This was mentioned related to another missing option in:
https://savannah.gnu.org/bugs/?func=detailitem&item_id=58089#comment1

which states it applies to "all, any, bounds, max, min, mean, median, mode,
prod, std, and var".

This was noticed on the mailing list regarding the sum function when a new
user tried to port over some code.

while bug #58089 was about a the option where the functions take a vector
dimensions for multiple summation, the "all" function should be fairly trivial
to implement as:

if "all" --> A = A(:), continue sum operation

At first glance at the function list it looks like this approach should apply
to them all. 




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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