[Top][All Lists]

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

[Octave-bug-tracker] [bug #34883] New broadcasting (auto BSX) documentat

From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #34883] New broadcasting (auto BSX) documentation necessary
Date: Mon, 12 Dec 2011 20:51:47 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110109 Windgecko/3.6.13

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

I've run into a bit of a problem... how should the in-place operators
be handled? += .*=, etc....

I was thinking that they shouldn't resize the LHS, because that
wouldn't be in-place anymore (without allocating more memory, I mean).
But jwe thinks that this would break semantics with x op= y being
purely syntactic sugar for x = x op y.

How should this case be handled? I had opted earlier for no resizing
of the LHS, but I didn't do it correctly, and jwe thinks this isn't
completely the right idea. Should I undo my previous changes that
disallowed resizing the LHS in x += y ?

This is completely an Octave-specific issue, because as you know,
Matlab doesn't even have op= operators.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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