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

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

[Octave-bug-tracker] [bug #55983] 'x(ix) = []' deletion syntax does not


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #55983] 'x(ix) = []' deletion syntax does not work for objects
Date: Fri, 22 Mar 2019 20:38:59 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0

Follow-up Comment #1, bug #55983 (project octave):

Interestingly, this does work with Symbolic using old style @class:


>> syms x
>> A = [x 2*x 3*x]
A = (sym) [x  2⋅x  3⋅x]  (1×3 matrix)
>> A(2) = []
A = (sym) [x  3⋅x]  (1×2 matrix)


1.  I don't remember this regressing when we tried to port Symbolic to
classdef (https://github.com/cbm755/octsympy/pull/590)

2.  How do you know its not a problem with your `packajoozle` class?

3.  IIRC, there were some subtle differences between Octave and Matlab: how to
make this work might've been one of them...


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55983>

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




reply via email to

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