Hi all,

want to improve domain Tableau, e.g. the current output of tableaux. However, this uses pile of OutputForm, which always starts a new line. The behaviour of matrices is different. Is there a way to output the rows of a tableau in pile form (like in matrices), but WITHOUT a new line as it is the case for matrices. Some magic LISP? pile uses SC, matric uses MATRIX.

(21) -> t2 := tableau [[0,3,5,7,8],[1,4,6],[2]]

   (21)
   +---+ +---+ +---+ +---+ +---+
   | 0 | | 3 | | 5 | | 7 | | 8 |
   +---+ +---+ +---+ +---+ +---+
   +---+ +---+ +---+
   | 1 | | 4 | | 6 |
   +---+ +---+ +---+
   +---+
   | 2 |
   +---+
                                                                   Type: Tableau(NonNegativeInteger)
(22) -> [t1, t2]

   (22)
   [
     +---+ +---+ +---+
     | 0 | | 3 | | 5 |
     +---+ +---+ +---+
     +---+ +---+ +---+
     | 1 | | 4 | | 6 |
     +---+ +---+ +---+
     +---+
     | 2 |
     +---+
     ,

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

(27) -> m1 := matrix [[0,3,5],[1,4,6],[2,0,0]]

         +0  3  5+
         |       |
   (27)  |1  4  6|
         |       |
         +2  0  0+
Type: Matrix(NonNegativeInteger)
(28) -> m2 := matrix [[0,3,5,7,8],[1,4,6,0,0],[2,0,0,0,0]]

         +0  3  5  7  8+
         |             |
   (28)  |1  4  6  0  0|
         |             |
         +2  0  0  0  0+
Type: Matrix(NonNegativeInteger)
(29) -> [m1,m2]

          +0  3  5+  +0  3  5  7  8+
          |       |  |             |
   (29)  [|1  4  6|, |1  4  6  0  0|]
          |       |  |             |
          +2  0  0+  +2  0  0  0  0+
Type: List(Matrix(NonNegativeInteger))

--
Mit freundlichen Grüßen

Johannes Grabmeier

Prof. Dr. Johannes Grabmeier,
Köckstraße 1, D-94469 Deggendorf
Tel. +49-(0)-991-2979584, Tel. +49-(0)-151-681-70756
Fax: +49-(0)-991-2979592

--
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/4dc74d65-3695-4ffe-ac32-95905815ce24%40grabmeier.net.

Reply via email to