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

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

[Octave-bug-tracker] [bug #63460] mean should support operation on more


From: Rik
Subject: [Octave-bug-tracker] [bug #63460] mean should support operation on more than 2 remaining dimensions for Matlab compatibility
Date: Sat, 3 Dec 2022 00:46:53 -0500 (EST)

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

                 Summary: mean should support operation on more than 2
remaining dimensions for Matlab compatibility
                 Project: GNU Octave
               Submitter: rik5
               Submitted: Fri 02 Dec 2022 09:46:51 PM PST
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: 9.1.0 (current default)


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 02 Dec 2022 09:46:51 PM PST By: Rik <rik5>
The following test code works on Matlab, but throws an error on Octave:


x = reshape (1:72, 3,3,4,2);
mean (x, [1,7,9])


This shouldn't be a problem.

A separate issue, but one that might get addressed in re-working the
algorithm, is that there are for loops which are going to be slow in m-files.








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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