#6838: error creating matrices over GF(2) from elements of QQ
----------------------------+-----------------------------------------------
Reporter: ncalexan | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.2
Component: linear algebra | Keywords:
Reviewer: | Author:
Merged: |
----------------------------+-----------------------------------------------
Yet another thing I can't understand:
{{{
sage: GF(2)(1/3)
1
sage: MatrixSpace(GF(2), 1, 1)([1/3])
[0]
}}}
For the record:
{{{
sage: MatrixSpace(Zmod(4), 1, 1)([1/3])
[3]
sage: Zmod(4)(1/3)
3
}}}
So it's not always broken.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6838>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---