[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:
<http://savannah.gnu.org/bugs/?44201>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly, (continued)
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly, Colin Macdonald, 2015/02/07
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly, Dan Sebald, 2015/02/07
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly, Colin Macdonald, 2015/02/07
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly, Dan Sebald, 2015/02/09
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly, John W. Eaton, 2015/02/09
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly, Colin Macdonald, 2015/02/09
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly, Colin Macdonald, 2015/02/09
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly, Colin Macdonald, 2015/02/10
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly, Jordi GutiƩrrez Hermoso, 2015/02/13
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly, Rik, 2015/02/15
- [Octave-bug-tracker] [bug #44201] "whos" and gui display non-integer sizes inf/nan poorly,
Colin Macdonald <=