[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51410] display of multidimensional arrays use
From: |
Colin Macdonald |
Subject: |
[Octave-bug-tracker] [bug #51410] display of multidimensional arrays uses 'ans' |
Date: |
Wed, 23 Oct 2019 18:12:47 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0 |
Follow-up Comment #6, bug #51410 (project octave):
In the Symbolic package, I needed to modify the "ans = " bit to render like
"ans(x) = " (in a subclass).
The superclass display.m has:
% weird hack to support "ans(x) = " output for @symfun
name = private_disp_name(x, inputname (1));
https://github.com/cbm755/octsympy/blob/master/inst/%40sym/display.m
https://github.com/cbm755/octsympy/blob/master/inst/%40sym/private_disp_name.m
https://github.com/cbm755/octsympy/blob/master/inst/%40symfun/private_disp_name.m
I'm not suggesting this is a solution to the problem here but it at least
shows much many hoops pkg/OO developers will jump through to tweak the
display...
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?51410>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/