> The bottleneck in `from_polynomial` is the check to test whether the input 
>> is actually a symmetric polynomial. If you disable the check, the 
>> computation is moderately fast, although not quite as fast as Vincent's 
>> code.
>>
>> Sym.e().from_polynomial(P(seq_taylor), check=False)
>>
>> That's quite a horrible check then! All you'd need to check is that 
> f(x2,x1,x3,...,xn) and f(x2,x3,...,xn,x1) are both equal to f. Perhaps it's 
> worth changing the check. The super-complicated procedure implemented now 
> (expand the representation as polynomial in the symmetric functions back 
> into a polynomial in the original variables) can then be relegated to a 
> doctest. 
>

+1

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/4c17066a-66ee-47f3-ab01-1039811829dc%40googlegroups.com.

Reply via email to