[sage-support] Re: differentiation in InfinitePolynomialRing

2021-09-08 Thread Simon King
Hi Nils, can you open a ticket for it? Best regards, Simon On 2021-09-08, Nils Bruin wrote: > On Wednesday, 8 September 2021 at 09:24:15 UTC-7 max...@gmail.com wrote: > >> Hi Simon, >> >> Thank you for your insight, and let me state that I >> find InfinitePolynomialRing useful in combinatorics

[sage-support] Re: differentiation in InfinitePolynomialRing

2021-09-08 Thread Nils Bruin
On Wednesday, 8 September 2021 at 09:24:15 UTC-7 max...@gmail.com wrote: > Hi Simon, > > Thank you for your insight, and let me state that I > find InfinitePolynomialRing useful in combinatorics to deal with > (truncated) multivariate generating functions with apriori unknown number > of variab

[sage-support] Re: differentiation in InfinitePolynomialRing

2021-09-08 Thread Max Alekseyev
Hi Simon, Thank you for your insight, and let me state that I find InfinitePolynomialRing useful in combinatorics to deal with (truncated) multivariate generating functions with apriori unknown number of variables, and so basic operations (such as differentiation) on polynomials would be very

[sage-support] Re: differentiation in InfinitePolynomialRing

2021-09-08 Thread Nils Bruin
On Wednesday, 8 September 2021 at 07:30:21 UTC-7 Simon King wrote: > > As I said, differentiation is not supposed to work. But I (as original > author) don't fully understand *why* it sometimes works and how to fix > that (by "fix", I mean "make it not work and, in the best case, suggest > to c

[sage-support] Re: differentiation in InfinitePolynomialRing

2021-09-08 Thread Simon King
Hi Max, On 2021-09-08, Max Alekseyev wrote: > I've found a couple of issues with differentiation in InfinitePolynomialRing > > (ISSUE #1) Differentiation fails in InfinitePolynomialRing(QQ), e.g. the > following code > > R. = InfinitePolynomialRing(QQ) > f = x[0] + x[1] > derivative(f,x[1]) > >

[sage-support] differentiation in InfinitePolynomialRing

2021-09-08 Thread Max Alekseyev
I've found a couple of issues with differentiation in InfinitePolynomialRing (ISSUE #1) Differentiation fails in InfinitePolynomialRing(QQ), e.g. the following code R. = InfinitePolynomialRing(QQ) f = x[0] + x[1] derivative(f,x[1]) gives an error TypeError: Argument 'var' has incorrect type (ex