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

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

[Octave-bug-tracker] [bug #65471] hist: document expected shape of outpu


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65471] hist: document expected shape of output variables
Date: Sun, 17 Mar 2024 22:47:43 -0400 (EDT)

Update of bug #65471 (group octave):

                  Status:               Confirmed => Ready For Test         
         Planned Release:                    None => 10.1.0 (current default)
                 Summary: document expected output form from hist => hist:
document expected shape of output variables

    _______________________________________________________

Follow-up Comment #2:

i didn't look before but confirming that the code says:


    if (arg_is_vector)
      ## Matlab compatibility requires a row vector return
      nn = freq.';
      xx = x.';


internally vector freq and x are column vectors up to this point, so they will
always return row vectors. if the input is an array, each column is treated as
a separate group, so the output is also an array with the same number of
columns for nn and a column vector for xx.

I pushed a more thorough description of the shape of the outputs to the stable
branch as 
https://hg.savannah.gnu.org/hgweb/octave/rev/1ba981407122
marking report as Ready for Test.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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