#5359: Block matrix viewing is broken
----------------------+-----------------------------------------------------
Reporter: kcrisman | Owner: cwitty
Type: defect | Status: new
Priority: minor | Milestone: sage-3.4.1
Component: misc | Keywords:
----------------------+-----------------------------------------------------
From sage-support:
Viewing block matrices "nicely" seems to be difficult in Sage.
{{{
sage: A=matrix([[1]])
sage: B=matrix([[2]])
sage: C=matrix([[3]])
sage: D=matrix([[4]])
sage: BM=block_matrix([A,B,C,D])
sage: BM
[1|2]
[-+-]
[3|4]
}}}
Okay, this is fine but a little clunky. Let's try something nicer:
{{{
sage: show(BM)
}}}
Upon which a dvi viewer opens up, unfortunately not a very nice one...
and shows the block matrix with only a vertical dividing line, not a
horizontal one!
Okay, let's try the notebook:
{{{
A=matrix([[1]])
B=matrix([[2]])
C=matrix([[3]])
D=matrix([[4]])
BM=block_matrix([A,B,C,D]);BM
[1|2]
[-+-]
[3|4]
}}}
So far so good, but when I click "Typeset" to get a LaTeXed matrix...
{{{
BM=block_matrix([A,B,C,D]);BM
<html><span class="math">\left(\begin{array}{r|r}
1 & 2 \\
3 & 4
\end{array}\right)</span></html>
}}}
Which as you can see does NOT have any "blockiness" to it at all.
Very pretty, but not a block matrix, at least not identifiably so.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5359>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---