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

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

[Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible
Date: Tue, 1 Feb 2022 07:27:14 -0500 (EST)

Follow-up Comment #6, bug #61968 (project octave):

To answer my own question from comment #4:

>> e = [1 + 1i, 1]
e =
   1 + 1i   1 + 0i
>> e = [1+ 1i, 1]
e =
   1 + 1i   1 + 0i
>> e = [1 +1i, 1]
e =
   1 + 0i   0 + 1i   1 + 0i
>> e = [1+1i, 1]
e =
   1 + 1i   1 + 0i


I always found the parsing rules around spaces in arrays/vectors pretty
confusing. (They do make sense when you take the time to think about it. But
I'm lazy.😉)
That's why I usually try to avoid them (unless next to a comma).


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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