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

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

[Octave-bug-tracker] [bug #44779] copy-on-write, varargin, and classdef:


From: Michael Goffioul
Subject: [Octave-bug-tracker] [bug #44779] copy-on-write, varargin, and classdef: invalid dimension inquiry of a non-existent value
Date: Fri, 17 Apr 2015 19:08:19 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36

Follow-up Comment #3, bug #44779 (project octave):

I did some more experiments a few days ago, and it appears the fact that the
magic "end" is propagated from E2 to E1 is to support expressions like:


x(:,min(2,end))


I didn't know you could use "end" in a functional expression with the "end"
being applied to the outer object. Googling a bit I found this (
http://stackoverflow.com/questions/23016606/what-are-the-semantics-of-end-in-matlab
), which implies this is an undocumented feature.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44779>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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