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

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

[Octave-bug-tracker] [bug #57794] cart2sph, sph2cart: output argument sh


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #57794] cart2sph, sph2cart: output argument should not change behavior with different nargout
Date: Wed, 12 Feb 2020 14:06:46 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36

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

poking around at the function, both matlab and octave accept arrays for x, y,
and z.  this is easy enough to handle when they're independent via elementwise
operations. However, if we want to keep Octave's ability to handle a single
matrix input, an input orientation has to be defined for n>1.  otherwise
there's no way to tell what is meant by an input of:

C= [0 0 0;
    1 1 1;
    2 2 2];


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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