#10618: Include David Perkinson's sandpile module in the sage library
-------------------------------------------------+--------------------------
Reporter: mhampton | Owner: jason, ncohen,
rlm
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.6.2
Component: graph theory | Keywords: abelian
sandpile model
Author: David Perkinson, Marshall Hampton | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------------------------------+--------------------------
Changes (by wdj):
* status: needs_review => needs_work
Comment:
This applies fine to a clone of sage-4.6.1.rc1. However, it fails a ton of
doctests. These might pass if the (optional/experimanetal) spkgs were
installed. The point is, it should pass if nothing is installed. However,
there were also these:
{{{
sage: D.__dict__
Expected:
{'_sandpile': Digraph on 3 vertices, '_effective_div': [{0: 2, 1: 0,
2: 0}, {0: 0, 1: 1, 2: 1}], '_linear_system': {'inhomog': [[1, 0, 0], [0,
-1, -1], [0, 0, 0]], 'num_inhomog': 3, 'num_homog': 2, 'homog': [[-1, -1,
-1], [1, 1, 1]]}, '_vertices': [0, 1, 2]}
Got:
{'_sandpile': Digraph on 3 vertices, '_vertices': [0, 1, 2]}
}}}
and
{{{
sage: D._set_linear_system()
Expected nothing
Got:
<BLANKLINE>
**********************************
*** This method requires 4ti2. ***
**********************************
<BLANKLINE>
Read the beginning of sandpile.sage or see the Sage
Sandpiles
documentation for installation instructions.
<BLANKLINE>
}}
for example.
This occurred on both an ubuntu machine and a 10.6.6 mac.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10618#comment:4>
Sage <http://www.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.