[Top][All Lists]

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

[Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer siz

From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly
Date: Sun, 15 Feb 2015 16:13:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

Follow-up Comment #11, bug #44201 (project octave):

That is fine for 4.0.  We seem to support inf and nan just fine in user
classes, so its just cosmetic.

But I do not think we should "rethink those classes".  My arguments:

1.  Chebfun is a popular toolbox that regularly uses Infx1 and Infx3 etc. 
With classdef we are likely to be able to run it.  Its not our class to think
about.  The "infinite length vector" is a core mathematical concept for them.

2.  I'm likely to support symbolic sized matrices in "symbolic" (mxn where m
and n are sym() objects).  I can display these as 1x1 in whos.  But NaN x NaN
seems nicer to me.

3.  Matlab does it.

> easier for the programmer if Octave tells them exactly
> how it sees the object in question.

Disagree.  If that were so, size for a user defined class might always be
"1x1".  I think Octave in general has little idea about how a user-defined
class chooses to represent itself.  size.m is supposed to doubles.  My class
gives doubles.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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