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

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

[Octave-bug-tracker] [bug #48564] Octave does not accept "1 / ND array",


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #48564] Octave does not accept "1 / ND array", "mrdivide (1, ND array)", "mldivide (ND array, 1)"
Date: Wed, 20 Jul 2016 18:41:45 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #7, bug #48564 (project octave):

Patch works fine in Linux now, but indeed, when A is any 2D array, patched
Octave will accepts constructs like

1 / A
-and-
mrdivide (1, A)

that Matlab doesn't accept. So I guess merely checking for number of
dimensions should do the trick.

mldivide won't accept (A, 1), nor (if B = 3D array) (B, 1). The former should
be OK, the latter not.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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