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

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

[Octave-bug-tracker] [bug #56659] Symmetry of linspace (-a, a, n)


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #56659] Symmetry of linspace (-a, a, n)
Date: Tue, 23 Jul 2019 08:36:51 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #2, bug #56659 (project octave):

@Michael: I have used linspace hundreds (or thousands) of times, most of them
in the symmetric case and I have never thought that the result was
unsymmetric. My first example was trivial, try this one


x = linspace (-1000, 1000, 12);


I agree with you that there are several other special cases which we cannot
treat. Maybe it would be enough to add an example in the documentation with a
warning about the lost symmetry.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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