[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51045] ?: ternary operator
From: |
Ernst Reissner |
Subject: |
[Octave-bug-tracker] [bug #51045] ?: ternary operator |
Date: |
Fri, 19 May 2017 08:15:52 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
Follow-up Comment #4, bug #51045 (project octave):
Yes, I agree.
We shall close this.
It would be more desibable to convince mathworks to add the construct.
The advantage of ternary operator over merge
is just lazy evaluation.
Still I found a way to do this: passing function handles
instead of values to a function ternary(bool,handle, handle)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51045>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/