Add a New Comment (Rich Markup)
Comment Type & Canned Response: None None > Multiple Canned Responses Fixed in development Crash with no stack trace Already fixed in newer version Fixed in stable Bad description Bad description and crash Bad stack trace Obsolete version Duplicate and not fixed Duplicate and needs more info Duplicate and fixed Need info and old
OK. The change in scalar display would be pretty significant for Octave, but it could also simplify the implementation by not trying to special case scalar values so they are printed on one line.
Yes, for scalars too:
>> A = int64(42) A = int64 42 >> B = rand(1,1,'single') B = single 0.9058
This bug has some overlap with bug #51410. Maybe both should be fixed at the same time.
I agree that the type info is useful.
Other than providing a custom display method for the built-in types, does Matlab offer a way to disable this feature?
Should we also display the type and size info for double values?
What about scalars? Should type information also be displayed for those? How should it be formatted?
In Matlab 2016b, they started displaying some metainfo along with non-double and non-char arrays:
>> A = int64(round(10*rand(3,4))) A = 3x4 int64 matrix 7 7 1 3 8 7 5 6 3 2 10 2 >> A = rand(2,3, 'single') A = 2x3 single matrix 0.7513 0.5060 0.8909 0.2551 0.6991 0.9593
That looks nice to me: generally its important to me whenever something isn't a double. Should we do this too?
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only project members can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 3 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9