[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44334] isequal fails to compare size of objec
From: |
Julien Bect |
Subject: |
[Octave-bug-tracker] [bug #44334] isequal fails to compare size of objects |
Date: |
Mon, 19 Oct 2015 16:17:14 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:39.0) Gecko/20100101 Firefox/39.0 |
Follow-up Comment #9, bug #44334 (project octave):
Hello Oliver,
Mathworks' documentation *does* provide information about overriding numel.
See, e.g.,
http://fr.mathworks.com/help/matlab/matlab_oop/overloading-numel-subsref-and-subsasgn.html
for the latest release (R2015b, which by the way intrduces some novelty in
this issue, with a new method called numArgumentsFromSubscript).
In short, for Matlab <= R2015a, numel be overriden consistently with subsasgn
and subsref: the value returned by numel(X) corresponds to the value of
nargin/nargout for subasgn/subsref when using dot-indexing.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44334>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44334] isequal fails to compare size of objects,
Julien Bect <=