bugGNU Octave - Bugs: bug #51932, Documentation of function eye and...

 
 

bug #51932: Documentation of function eye and others

Submitter:  Ernst Reissner <ernstreissner>
Submitted:  Mon 04 Sep 2017 01:14:15 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 05 Sep 2017 02:27:30 AM UTC, comment #1: 

Confirmed.  If you can prepare a patch I can review.

Rik <rik5>
Group administrator
Mon 04 Sep 2017 01:14:15 PM UTC, original submission:  

According to matlab documentation,
the function eye can be invoked without argument,
which is equivalent with calling eye(1).
The same is true for matlab, but this is not documented.

The second gap in documentation is the values for CLASS.
This is optional and defaults to 'double'.
Possible values should be
'double', 'single', logical, 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', or 'uint64',
which all works properly in octave also without being documented.

The third and last gap is the return value.
Currently none is specified, which is wrong.

Changes must be done in  libinterp/corefcn/data.cc

Ernst Reissner <ernstreissner>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-05 rik5 StatusNone Confirmed
    2017-09-04 ernstreissner Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-54b4.
    Corresponding source code