-
-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make polynomial .diff() accept optional argument times for repeated differentiation. #1578
Comments
comment:1
Hmm, bundle and patch might need to be rebased. Sorry. |
comment:3
The failures are okay, since they just have redundant information. I tested things out and all tests passed. |
Attachment: ncalexan-mpoly-diff-times-updated.patch.gz This should be the final version; use this over the two earlier bundles and one earlier patch. |
comment:6
I deleted the older patches and bundles. Cheers, Michael |
comment:7
'times' seems like an odd name for the argument--it returns the "times-th derivative"? |
comment:8
How about accepting monomials instead of variables only. Then x2 would encode 2-times x, and x2y3 would mean 3-times y and 2-times x. |
comment:9
I don't know if we implement any, but there are functions such that However, I think the ability to pass in a monomial is an excellent idea. Perhaps beyond the scope of this patch though. |
comment:11
In mathematica, you can pass a list to the differentiate command and the function will be differentiated with respect to successive elements of the list. So maybe something like: f.diff([x,y,y,x]) could specify differentiating first wrt x, then y, then y, and then x again. The command in the patch could be invoked as: f.diff([x]*3) I agree that f.diff(x,3) looks better, though. |
comment:12
We should probably note that this is supported by symbolic polynomials already.
|
comment:13
The patch looks ok to me, looking at the diffs (I have not tried applying it). |
comment:14
there is action on this at #753 |
comment:15
I am closing this since it has been superseded by #753. |
comment:17
This isn't really a duplicate and I consider this fixed. It looks like a borderline case, so I tend to call those tickets fixed. Cheers, Michael |
Make polynomial .diff() accept optional argument times for repeated differentiation.
Makes diff do its thing multiple time if requested.
Component: commutative algebra
Keywords: polynomial diff times repeat
Issue created by migration from https://trac.sagemath.org/ticket/1578
The text was updated successfully, but these errors were encountered: