-
-
Notifications
You must be signed in to change notification settings - Fork 675
Description
Unicode provides nice symbols which can be combined to form large delimiters. It would be nice if we could print matrices using these, instead of the same ASCII brackets on all the lines. So instead of
[1 2|3]
[4 5|6]
[7 8|9]
I'd like to see one of these:
⎛1 2│3⎞ ⎡1 2│3⎤
⎜4 5│6⎟ or ⎢4 5│6⎥
⎝7 8│9⎠ ⎣7 8│9⎦
Perhaps it's best to do this in small increments: start with a keyword argument to the str
method of matrices, then later on make this the default. So the ticket here is only for on-demand support of this feature, not for its automatic use by default. For later reference, see #14733 which switched the banner to Unicode, and thereby made the choice that Sage may look broken on non-Unicode terminals.
Component: user interface
Keywords: unicode matrix
Author: Martin von Gagern
Branch/Commit: 6b6f089
Reviewer: Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/18270