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

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

Re: [Octave-bug-tracker] [bug #34883] New broadcasting (auto BSX) docume


From: Jordi Gutiérrez Hermoso
Subject: Re: [Octave-bug-tracker] [bug #34883] New broadcasting (auto BSX) documentation necessary
Date: Mon, 12 Dec 2011 15:18:11 -0500

On 12 December 2011 02:08, Michael Godfrey <address@hidden> wrote:
> Follow-up Comment #1, bug #34883 (project octave):
>
> Do you have a target date for this update?
>
> It would be nice to have a chance to review
> the text before 3.6 release.

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.

- Jordi G. H.



reply via email to

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