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

 
 

bug #51932: Documentation of function eye and others

Submitted by:  Ernst Reissner <ernstreissner>
Submitted on:  Mon 04 Sep 2017 01:14:15 PM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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

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

Rik <rik5>
Project 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 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 ernstreissner (Submitted the item)
  • -unavailable- added by ernstreissner
  •  

    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
    Tue 05 Sep 2017 02:27:30 AM UTCrik5StatusNone=>Confirmed
    Mon 04 Sep 2017 01:14:15 PM UTCernstreissnerCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1