Checking octave_value equality (==) without generating an error?
From:
Michael Goffioul
Subject:
Checking octave_value equality (==) without generating an error?
Date:
Sat, 22 Nov 2014 16:40:27 -0500
Hi,
I'm looking for a function/method that would check whether 2 octave_value objects are equal, but I don't want to generate an error (e.g. if objects are not comparable, then I simply want to return false). AFAIK do_binary_op will generate an error if required. Is there such method in octave?
For the record: this is in the context of property set-accessor [1][2]