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

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

[Octave-bug-tracker] [bug #48428] Support for java.lang.XXX syntax


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #48428] Support for java.lang.XXX syntax
Date: Thu, 19 Jul 2018 15:09:03 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #17, bug #48428 (project octave):

It would be unpleasant if we had to give up arbitrary indexing chains and/or
chained assignments.  I know people like to be able to do things like


svd(a)(1:n)


for example.  But I think this also makes the interpreter implementation more
complicated.  And maybe now we are seeing why this is impossible for Matlab? 
I don't know.  I've never been able to come up with a simple and clear example
that shows exactly why arbitrary indexing chains aren't possible.  What about
overloading subsref?  Does it cause trouble there?

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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