#15714: implement CFiniteSequence
-------------------------------------+-------------------------------------
Reporter: rws | Owner: rws
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: combinatorics | Resolution:
Keywords: recurrence, | Merged in:
sequence, ogf | Reviewers:
Authors: Ralf Stephan, | Work issues:
Viviane Pons | Commit:
Report Upstream: N/A | 504eb03cb625675b1e431bb20ebeb9a414b03ad0
Branch: | Stopgaps:
public/ticket/15714 |
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Ralf Stephan, Viviane Pons', 'oldvalue': u'Ralf
Stephan'}):
* author: Ralf Stephan => Ralf Stephan, Viviane Pons
Comment:
I have changed the architecture so that C-Finite Sequences are no longer
sub classes of fraction field elements. Instead, they just store the ogf
and belong to their own ring with a proper parent and everything.
I think the new implementation is much cleaner and it's addressing the
issues that had been raised before: the behavior and coercions are much
more consistent.
Also, it actually makes things easy for the user as you can write directly
{{{
sage: CFiniteSequence(1+x)
Finite sequence [1, 1], offset = 0
}}}
even if {{{x}}} is a symbolic variable, it gets transformed into a proper
fraction field element and the result still has the right parent and
everything.
Someone can start reviewing my changes, rws I guess and also mmezzarobba
(or whoever wants to look at it).
I still haven't recompiled the doc but I will do shortly.
--
Ticket URL: <http://trac.sagemath.org/ticket/15714#comment:43>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.