#5714: Mod-2 matrix output does not show subdivisions
---------------------+------------------------------------------------------
Reporter: justin | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone:
Component: algebra | Keywords:
---------------------+------------------------------------------------------
Description changed by jhpalmieri:
Old description:
> This was reported on sage-support. The following shows what's going on:
> {{{
> sage: MS7=MatrixSpace(Integers(7),4,4)
> sage: M=MS7.random_element()
> sage: M.subdivide([2],[2])
> sage: M
>
> [6 1|3 4]
> [4 4|0 5]
> [---+---]
> [4 2|2 6]
> [5 6|3 3]
> sage: MS2=MatrixSpace(Integers(2),4,4)
> sage: N=MS2.random_element()
> sage: N.subdivide([2],[2])
> sage: N
>
> [1 0 1 0]
> [1 1 0 0]
> [1 1 1 0]
> [0 0 0 1]
> }}}
>
> See also #5176 for another issue and #5717 for another example.
New description:
This was reported on sage-support. The following shows what's going on:
{{{
sage: MS7=MatrixSpace(Integers(7),4,4)
sage: M=MS7.random_element()
sage: M.subdivide([2],[2])
sage: M
[6 1|3 4]
[4 4|0 5]
[---+---]
[4 2|2 6]
[5 6|3 3]
sage: MS2=MatrixSpace(Integers(2),4,4)
sage: N=MS2.random_element()
sage: N.subdivide([2],[2])
sage: N
[1 0 1 0]
[1 1 0 0]
[1 1 1 0]
[0 0 0 1]
}}}
See also #5716 for another issue and #5717 for another example. #5715 is a
duplicate of this ticket.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5714#comment:3>
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
-~----------~----~----~----~------~----~------~--~---