From: Robert D. <rob...@us...> - 2025-06-22 18:43:15
|
I'm not sure about a global variable for this purpose, mostly because it would be hard to explain exactly what the effect of it is -- I'm pretty sure it's possible to display some large expressions, with many more lines than the length of `linearray`because the pretty printer can sometimes break up stuff; we would have to explain why that works some times and not others. How about if we just increase the size of `linearray` to 1000 or something? --- **[bugs:#4558] Can't control matrix 2d print formatting** **Status:** open **Group:** None **Labels:** display2d matrix **Created:** Thu May 15, 2025 06:26 PM UTC by Stavros Macrakis **Last Updated:** Thu May 15, 2025 06:26 PM UTC **Owner:** nobody Displaying ``genmatrix(lambda([i,j],0),40,3)`` gives a nice 2d display. But ``...,41,3)`` uses the linear form. This is controlled by the clause ``(if (> (+ height depth) (length linearray))`` in ``dim-$matrix`` and as far as I can tell cannot be controlled by the user -- ``linearray`` is always of length 80. Should we add a global ``max_2d_display_height``or something? Is it enough for that to change the size of ``linearray``? Maxima 5.47.0 SBCL 2.4.9 MacOS --- Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |