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

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

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


From: anonymous
Subject: [Octave-bug-tracker] [bug #61473] unexpected results from eq
Date: Sat, 13 Nov 2021 12:30:05 -0500 (EST)
User-agent: Mozilla/5.0 (Android 11; Mobile; rv:93.0) Gecko/93.0 Firefox/93.0

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

The functions eq and isequal are not the same. Here is a simpler example: 

eq ( [1 2 3], [1 2 4] )

isequal ( [1 2 3], [1 2 4] )

eq will return [1 1 0] exactly like using the == operator. 

isequal will return 0 because the two inputs are not identical.

Does that help you figure out which one you want? 



    _______________________________________________________

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]