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

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

[Octave-bug-tracker] [bug #53675] Warning/documentation of mtimes with n


From: Michael Leitner
Subject: [Octave-bug-tracker] [bug #53675] Warning/documentation of mtimes with non-matrix arguments
Date: Fri, 20 Apr 2018 08:55:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #11, bug #53675 (project octave):

I rewrote large parts of 8.1 and 8.1.1 (and a very small modification to 8.2).
I removed the unnecessarily complicated stuff and tried to write the rest both
more accurately, thus the level of complexity may seem about the same.
Further, I gave more basic examples. The diff is attached.

Further, I think that the documentation would gain by deleting the last part
of 8.1.1 starting from "A second use of indexing...". First, I do not see the
well-defined first use of indexing, but then the given examples are either not
about indexing at all (the point with sqrt, which is rather about using
vectors and matrices as fundamental data types rather than scalars, which is
probably the reason why anybody would turn to Octave in the first case, or in
any case the first thing he would learn -- discussed already in 19.1), or
should rather be done by a repmat in the second example. Preallocation is
already done in 19.6. I do not see that it is specific to indexing.

Last point: From inspecting this part of the documentation, I did not really
get the conventions with @samp, @math, @var, @code. I did it as good as I
could, but feel free to make these more consistent if there are conventions
regarding their use.

(file #43982)
    _______________________________________________________

Additional Item Attachment:

File name: patch                          Size:10 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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