#15793: Power of species is broken
-------------------------------------+-------------------------------------
Reporter: hivert | Owner: hivert
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: combinatorics | Resolution:
Keywords: species power | Merged in:
Authors: Florent Hivert | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/hivert/ticket/15793 | 1473b8297dd72eebabd599f84f89d901fea1cf34
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by hivert):
* owner: => hivert
* changetime: 03/13/14 06:58:24 => 03/13/14 06:58:24
* status: new => needs_review
Old description:
> Here is an example:
> {{{
> sage: S = species.SetSpecies()
> sage: S^3
> Sum of (Set species) and (Product of (Set species) and (Set species))
> }}}
> I'd rather have:
> {{{
> Product of (Set species) and (Product of (Set species) and (Set
> species))
> }}}
> I've An upcomming patch
New description:
Here is an example
{{{
sage: S = species.SetSpecies()
sage: S^3
Sum of (Set species) and (Product of (Set species) and (Set species))
}}}
I'd rather have:
{{{
Product of (Set species) and (Product of (Set species) and (Set
species))
}}}
The problem was that the binary exponentiation algorithms was reducing
using
{{{operator.add}}} instead of {{{operator.mul}}} !!!
--
--
Ticket URL: <http://trac.sagemath.org/ticket/15793#comment:3>
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.