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

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

Re: [Octave-bug-tracker] [bug #61473] unexpected results from eq


From: Liang Tang
Subject: Re: [Octave-bug-tracker] [bug #61473] unexpected results from eq
Date: Sun, 14 Nov 2021 11:21:23 -0000

I am assuming eq and isequal is an cell element by element comparison within cellfun.  The code I provided is a comparison of one number with another number at at a time for each cell element.  Comment #1 is invalid. 

eq gave the wrong result. 

On Sunday, November 14, 2021, 06:14:35 AM EST, Markus Mützel <invalid.noreply@gnu.org> wrote:


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

Like already answered in comment #1, `eq` is the *element-wise* comparison
operation. It returns a value for each element in both input arguments.
`isequal` compares *all* elements and returns a scalar.

Closing as invalid.



    _______________________________________________________

Reply to this item at:

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

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


reply via email to

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