bugGNU Octave - Bugs: bug #49733, some small errors found in...

 
 

bug #49733: some small errors found in octave.pdf

Submitter:  None
Submitted:  Tue 29 Nov 2016 08:59:31 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.2.0
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 29 Nov 2016 04:14:51 PM UTC, comment #1: 

Thanks for doing such a careful read of the documentation.  I fixed the issues you found on the stable branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/e23f7f47d8a3).  These will be a part of the next bug fix release (4.2.1).

Rik <rik5>
Group administrator
Tue 29 Nov 2016 08:59:31 AM UTC, original submission:  

'size' in page 45

Example 4: number of output arguments != number of dimensions
[nr, remainder] = size (ones (2, 3, 4, 5)
⇒ nr = 2
⇒ remainder = 60

missing a ")".

'nargout' in page 176

In the second usage,
nargout (@histc) \% or nargout ("histc")
will return 2, because histc has two outputs, whereas

"\%" should be "%"?

'setpref' in page 800

setpref ( "group", "pref", val )
addpref ( "group", { "pref1", "pref2", . . . } , { val1, val2, . . . })

"addpref" should be "setpref".

'open' in page 831

output = open file
output = open ( file )

should be

open file
output = open ( file )

because command-style calling cannot assign return values to variables, like the bug fixed in the document of function 'edit'.

Anonymous

 

(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 None (Submitted the item)
  •  

    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
    2016-11-29 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code