Maybe this is not what you want, but if you mean to
list the tableaux horizontally, you can use Format2D as follows.

setFormats!([Formatter Format2D] pretend List(OutputFormatterCategory))$FormattedOutput
)set output formatted on
)set output algebra off
t1 := tableau [[0,3,5],[1,4,6],[2]]
t2 := tableau [[0,3,5,7,8],[1,4,6],[2]]
[t1,t2]

[+---+ +---+ +---+  +---+ +---+ +---+ +---+ +---+]
[| 0 | | 3 | | 5 |, | 0 | | 3 | | 5 | | 7 | | 8 |]
[+---+ +---+ +---+  +---+ +---+ +---+ +---+ +---+]
[+---+ +---+ +---+  +---+ +---+ +---+            ]
[| 1 | | 4 | | 6 |  | 1 | | 4 | | 6 |            ]
[+---+ +---+ +---+  +---+ +---+ +---+            ]
[+---+              +---+                        ]
[| 2 |              | 2 |                        ]
[+---+              +---+                        ]

                      Type: List(Tableau(NonNegativeInteger))


Format2D does not yet respect the set linelength and will (currently) print the output without breaking it.

Actually, I would claim, that the output of Tableau is broken in another aspect.

%%% (11) -> t1 := tableau [[0,3,5],[1,4444,6],[2]]


+---+ +---+ +---+
| 0 | | 3 | | 5 |
+---+ +---+ +---+
+---+ +------+ +---+
| 1 | | 4444 | | 6 |
+---+ +------+ +---+
+---+
| 2 |
+---+

Right, it should be more resemble MATRIX, but with frames.
As far as I know the output of MATRIX is done for the algebra output by a special piece of code. You would have to invent something like MATRIX but without the outer parentheses to get a grid. PILE is certainly the wrong OutputForm.

Ralf

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/70f60311-5439-4399-b36e-d1c961caa2f2%40hemmecke.de.

Reply via email to