MatrixObj: improve generic ViewObj/PrintObj/Display/ViewString/PrintString/DisplayString/String methods for MatrixObj #5144
Labels
gapdays2022-summer
Issues and PRs that arose at https://www.gapdays.de/gapdays2022-summer
We have them (or some of them) in
lib/matobj.gi
, starting around line 1393:Some thoughts:
Print
and forDisplay
. Perhaps it is OK ifViewObj
only shows the current output, so that casually typing a matrix does not spam things... DunnpPrint
is meant to output code which can be read in back; I am not sure whether we can do that in general, but if we want to try it, it could start with something likeNewMatrix(FILTER, BASEDOMAIN, MAT)
whereMAT
is the result ofUnpack
for the original matrixViewObj
and/orDisplay
could replace zeros by.
and generally produce something more for humans, e.g.[1 2 ... 999 1000]
or even using Unicode, e.g.[ 1 2 ⋯ 999 1000 ]
The text was updated successfully, but these errors were encountered: