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

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

[Octave-bug-tracker] [bug #52785] some inconsistence in function 'lookup


From: anonymous
Subject: [Octave-bug-tracker] [bug #52785] some inconsistence in function 'lookup' and 'logspace' help text
Date: Tue, 2 Jan 2018 02:49:53 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?52785>

                 Summary: some inconsistence in function 'lookup' and
'logspace' help text
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 02 Jan 2018 07:49:52 AM UTC
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Any

    _______________________________________________________

Details:

help lookup:

...
     If OPTS is specified, it must be a string with letters indicating
     additional options.

     'm'
          'table(idx(i)) == val(i)' if 'val(i)' occurs in table;
          otherwise, 'idx(i)' is zero.

     'b'
          'idx(i)' is a logical 1 or 0, indicating whether 'val(i)' is
          contained in table or not.
...


There is no definition of variable 'val'.
'val' might be 'y' according to the context.


help logspace:

...
     Also for compatibility with MATLAB, return the second argument B if
     fewer than two values are requested.
...


The behavior of logspace is that
if N==1, it returns 10^B or pi, but not 'B'.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52785>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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