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

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

[Octave-bug-tracker] [bug #50716] Undefined input to a classdef method


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method
Date: Wed, 5 Apr 2017 11:50:32 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #6, bug #50716 (project octave):

Maybe I chose a bad example.  The problem is that in order to determine the
size of the object that end refers to (or the object to pass to the "end"
function, you have to be able to determine which object that is.  In some
cases, it is not simply the immediately preceding object.  For example:


a = [10,20,30];
b = [1,2,3];
a(b(end)) ## end refers to the end of b
a(floor(end)) ## end refers to the end of a


If there are some simple rules for how to evaluate this kind of expression,
then I'm not quite seeing them yet.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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