#18350: Adams operator
-------------------------------------+-------------------------------------
Reporter: elixyre | Owner:
Type: task | Status: needs_review
Priority: major | Milestone: sage-6.7
Component: categories | Resolution:
Keywords: | Merged in:
Authors: Jean-Baptiste | Reviewers:
Priez | Work issues:
Report Upstream: N/A | Commit:
Branch: | fc8726a50725479d84aa9a07f55e28e1f879880a
u/elixyre/ticket/18350 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by nthiery):
Replying to [comment:14 jhpalmieri]:
> Another non-discoverable-via-tab-completion way: have `coproduct` take
an optional argument `n` (default 1) and then `a.coproduct(n)` will return
the n-fold coproduct.
You mean for `a` an element, right? (at the level of the parent, the
syntax is `h.coproduct(x)` so this would require something like
`h.coproduct(x,n)`.
The logic for the standard coproduct and the iterated coproduct is
quite different. Keeping the methods separate makes it easier to
override just one or the other. That being said, if we decide that the
coproduct and iterated coproduct should always be implemented in the
parent (but I am not sure about it), then that would be fine to have a
single method `a.coproduct(...)` on the element side that just acts as
an alias.
Cheers,
Nicolas
--
Ticket URL: <http://trac.sagemath.org/ticket/18350#comment:17>
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.