octave-maintainers
[Top][All Lists]
Advanced

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

Re: How to compare 2 octave_value's without error


From: Michael Goffioul
Subject: Re: How to compare 2 octave_value's without error
Date: Sun, 20 Nov 2011 21:06:20 +0000

On Sun, Nov 20, 2011 at 8:09 PM, John W. Eaton <address@hidden> wrote:
> On 19-Nov-2011, Michael Goffioul wrote:
>
> | I'm in the process of implementing waitfor and I need to compare 2
> | octave_value objects, but I don't want the comparison to throw any
> | error if the comparison cannot be made (like comparing apples and
> | pears), I just want to return false.
> |
> | At the moment, I'm using the operator== but I'm sure that's not gonna
> | do it. What's the recommended way to do that?
>
> Other than not being implemented in C++, does isequal.m do what you
> want?

Yes, that's what I need. I guess I can still use feval from C++ to use it.

Michael.


reply via email to

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