Just use x = Poly(x**x). That's the dense representation. No idea how
to do this with ring(). Mateusz will have to show us. But the
polynomials you're creating in this benchmark are univariate and dense
anyway.

Aaron Meurer

On Wed, Apr 23, 2014 at 10:50 AM, Ondřej Čertík <[email protected]> wrote:
> On Wed, Apr 23, 2014 at 9:38 AM, Aaron Meurer <[email protected]> wrote:
>> But if you allow arbitrary generators, as Poly does (I don't know if
>> it is possible to do this with ring()), then you can have any
>> expression, and just consider it as a polynomial. In this case, your
>> generators would be x**(i*x), or, if you are smart, x**x.
>
> Can you post code that does this? Let's benchmark it.
>
> Ondrej
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" 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/sympy.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/CADDwiVAnhKFS-83379qN2RP2VgX_nDudZcX7xon%2BcrOtZZc0Gw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6JwRcHNn4oKkD1X3dpPMPMbSeNTftqubVsVugYtGRELDg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to