#9623: interacts for high school level education
-----------------------------------------------------------------------------------+
Reporter: schilly
| Owner: itolkov, jason
Type: enhancement
| Status: closed
Priority: major
| Milestone: sage-4.7.1
Component: interact
| Resolution: fixed
Keywords:
| Work_issues:
Upstream: N/A
| Reviewer: Jason Grout, Karl-Dieter Crisman, John Thurber, Marshall
Hampton
Author: Lauri Ruotsalainen, Harald Schilly, Robert Marik, Marshall
Hampton | Merged: sage-4.7.1.alpha0
Dependencies:
|
-----------------------------------------------------------------------------------+
Comment(by kcrisman):
There's also a typo - "callular" isn't an adjective I'm familiar with in
Wolfram's work :) And `N` is not actually used in the rule.
See [http://mathworld.wolfram.com/ElementaryCellularAutomaton.html this
MathWorld site] for the descriptions. The rule is given by binary, so
this rule is {{{2+4+32+128=166}}}. It looks like there is in fact an
error; I'm having a lot of trouble getting the rules to do what they
should with things like rules 1 or 2.
Here's the problem:
{{{
for k in range(N-j, N+j+1):
}}}
instead of
{{{
for k in range(0,2*N):
}}}
as on the wiki. Someone thought they'd be smart and only update the cells
that "need" updating... but that totally screws it up, as ALL cells might
need updating if e.g. the rule has the final binary digit = 1.
I'm opening a ticket for this. Thanks a lot for catching this, John.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9623#comment:48>
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.