#2136: add doctest for matrix visualize_structure
---------------------+------------------------------------------------------
Reporter: rlm | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.2
Component: doctest | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Changes (by mabshoff):
* owner: was => mabshoff
* component: linear algebra => doctest
* summary: matrix visualize_structure is completely broken on osx (at
least 10.5) -- why no doctest to catch this!?
=> add doctest for matrix visualize_structure
Comment:
This has worked for a while:
{{{
----------------------------------------------------------------------
| Sage Version 3.2.1.alpha2, Release Date: 2008-11-26 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: sr = mq.SR(2,1,1,4,gf2=True)
sage: F,s = sr.polynomial_system()
sage:
sage: gb = F.groebner_basis()
sage: Ideal(gb).variety()
sage: sage: Ideal(gb).variety()
[{s001: 0, s103: 1, s101: 1, x103: 1, s000: 1, x101: 0, k003: 0, k100: 0,
k001: 0, k200: 0, x200: 0, k202: 0, x202: 0, w102: 1, w100: 0, w201: 0,
s002: 0, w203: 1, k101: 1, s102: 0, s100: 1, x102: 0, x100: 1, k002: 1,
k000: 0, x201: 0, k201: 0, x203: 1, k203: 0, k103: 0, w103: 0, k102: 0,
w101: 0, w200: 0, s003: 1, w202: 0}]
sage:
sage: A,v = F.coefficient_matrix()
sage: A.visualize_structure()
sage:
Exiting SAGE (CPU time 0m0.99s, Wall time 0m56.28s).
Exiting spawned Singular process.
}}}
So let's add a doctest and get this ticket closed unless there already is
such a doctest. (which I believe there is).
malb?
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2136#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
-~----------~----~----~----~------~----~------~--~---