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

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

[Octave-bug-tracker] [bug #55120] small problem of example code in chapt


From: anonymous
Subject: [Octave-bug-tracker] [bug #55120] small problem of example code in chapter OOP
Date: Tue, 27 Nov 2018 22:56:04 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

URL:
  <https://savannah.gnu.org/bugs/?55120>

                 Summary: small problem of example code in chapter OOP
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 28 Nov 2018 03:56:02 AM UTC
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

In the chapter OOP, an example says that "roots" is a method of "polynomial".

$  grep -C5 -n roots doc/interpreter/oop.txi 
153-For example:
154-
address@hidden
address@hidden
157-p = polynomial ([1, 0, 1]);
158:ismethod (p, "roots")
159-  @result{} 1
address@hidden group
address@hidden example
162-
address@hidden Class Methods


But in this whole chapter, no statement mentions that "roots" is a method of
"polynomial".

$  grep address@hidden doc/interpreter/oop.txi 
@EXAMPLEFILE(@polynomial/polynomial.m)
@EXAMPLEFILE(@polynomial/disp.m)
@EXAMPLEFILE(@polynomial/get.m)
@EXAMPLEFILE(@polynomial/set.m)
@EXAMPLEFILE(@polynomial/subsref.m)
@EXAMPLEFILE(@polynomial/end.m)
@EXAMPLEFILE(@polynomial/polyval.m)
@EXAMPLEFILE(@polynomial/plot.m)
@EXAMPLEFILE(@polynomial/double.m)
@EXAMPLEFILE(@polynomial/mtimes.m)
@EXAMPLEFILE(@polynomial/polynomial_superiorto.m)


Although the file "examples/code/@polynomial/roots.m" does exist in the source
tree, the document reader does not know this.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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