|
|
last edited 8 years ago by test1 |
1 2 3 4 5 6 | ||
Editor: kratt6
Time: 2007/12/20 11:25:48 GMT-8 |
||
Note: |
added:
From kratt6 Thu Dec 20 11:25:48 -0800 2007
From: kratt6
Date: Thu, 20 Dec 2007 11:25:48 -0800
Subject:
Message-ID: <20071220112548-0800@axiom-wiki.newsynthesis.org>
Severity: wishlist => minor
Empty one dimensional arrays are printed but no empty two dimensional array in console.
)set output algebra on
)set output tex off
empty()$Vector(INT)
(1) []
empty()$Matrix(INT)
(2) []
)set output algebra off
)set output tex on
empty()$Vector(INT)
(1) |
empty()$Matrix(INT)
(2) |
)se ou tex off
)se ou al on
(matrix [[1,2]])::OUTFORM::SEX
Cannot convert the value from type OutputForm to SExpression .
I believe that this shows that the bug is in the boot display routines. In OUTFORM we find:
matrix ll == lv:$ := [LIST2VEC$Lisp l for l in ll] CONS(eform MATRIX, LIST2VEC$Lisp lv)$Lisp
matrix []
(5) matrix
could be equivalent to empty()$Matrix INT
. On the other hand, the interpreter has no way to determine the type of this matrix, so the error is probably OK.
matrix [[]]
(6) matrix NONE
does indeed not make any sense at all.
Severity: wishlist => minor