bugGNU Octave - Bugs: bug #49478, Document, that "size"...

 
 

bug #49478: Document, that "size" combines dimensions if nargout>1 && nargout<ndims(A)

Submitted by:  Andreas Weber <andy1978>
Submitted on:  Sun 30 Oct 2016 09:47:02 AM UTC  
 
Category: DocumentationSeverity: 2 - Minor
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.0-rc2Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 31 Oct 2016 02:49:26 AM UTC, comment #1:

Fixed on the stable branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/2100cd2e1be0).

Rik <rik5>
Project Administrator
Sun 30 Oct 2016 09:47:02 AM UTC, original submission:

I was baffled that size returns the produkt of dimensions if nargout > 1 and nargout < ndims (A)
(and yes, the other software does the same)

For example:

I think this should be documented in "size", something like "If there are multiple output arguments, but less than ndims (A), the last output argument is the product of the remaining dimensions"

Perhaps someone with better english skills can add this.

Andreas Weber <andy1978>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by andy1978 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 31 Oct 2016 02:49:26 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1