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

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

[Octave-bug-tracker] [bug #65553] stream2 doesn't extend matrices like m


From: Hg200
Subject: [Octave-bug-tracker] [bug #65553] stream2 doesn't extend matrices like matlab
Date: Sun, 7 Apr 2024 03:28:49 -0400 (EDT)

Follow-up Comment #3, bug #65553 (group octave):

In the stream2 and stream3 functions, the "x,y" arguments are reduced to the
vectors "gx,gy" anyway. Instead of expanding the input "x,y" to matrices to
later reduce them back to vectors, I suggest changing the input validation so
that depending on whether the input is a vector or a matrix, the correct data
and format is copied to "gx,gy". If we do this, we also do not need to perform
any numerical operations on input data before it is checked by the input
validation. streamline.m also needs to be adjusted as it is not compatible
with vectors.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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