For example: fricas (1) -> n:TwoDimensionalArray Union ( Integer,
Type: TwoDimensionalArray?(Union(Integer,
should display a rectangular array of numbers. ... --kratt6, Wed, 24 Aug 2005 13:34:47 -0500 reply I debugged this a little but hit a wall. In ARR2CAT you find the appropriate conversion operation:
if R has CoercibleTo(OutputForm) then
coerce(m:%) ==
l : List List OutputForm
l := [[qelt(m,i,j) :: OutputForm _
for j in minColIndex(m)..maxColIndex(m)] _
for i in minRowIndex(m)..maxRowIndex(m)]
matrix l
which really looks alright. Note also, that fricas Union(INT,
Type: Boolean
and the operation is not overridden in
coerce(x:%):OutputForm ==
bracket
commaSeparate [a::OutputForm for a in parts x]$List(OutputForm)
which can be seen by looking at: fricas n:TwoDimensionalArray Union(Integer,
Type: TwoDimensionalArray?(Union(Integer,
fricas n::OUTFORM::SEXStatus: open => not reproducible |