TypedPolynomials.jl icon indicating copy to clipboard operation
TypedPolynomials.jl copied to clipboard

Antidifferentiate

Open bmxam opened this issue 2 years ago • 1 comments

As proposed in #80 , here is a PR with the implementation of an antidifferentiate function, proposed here : https://github.com/JuliaAlgebra/MultivariatePolynomials.jl/pull/230. I copy below the description of the MultiVariatePolynomials PR#230 below:

With this PR, I propose to introduce a function to get the antiderivative of multivariate polynomial. Note that the word primitive, (more natural in my native language), is already used by the Julia language; hence the antiderivative name. An associated PR in TypedPolynomials is proposed.

I tried to copy what is currently done for differentiate. Except for RationalPoly, which are not always possible to antidifferentiate with polynoms. I provided some unit tests as well.

With this new function, it would then be easy to integrate a multivariate polynomial on (simple) geometries such as lines, quads, cubes etc.

Note : for personal reasons, I may be absent in the next few weeks. Don't hesitate to continue the PR process "without me".

bmxam avatar Dec 05 '22 21:12 bmxam

Hi Benoît (and everyone),

Now that the "antiderivative" PR has been merged in MultivariatePolynomials.jl, the present PR can be examined. Note that some unit tests are provided.

bmxam avatar May 11 '23 18:05 bmxam