derivat() has no reciprocal polyint() to compute polynomial antiderivatives
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
derivat() has not reciprocal polyint() to compute polynomial antiderivatives.
Polynomial is a native type in Scilab, and some polyint() feature is frequently
proposed in other languages even they do not have such a native type.
Expected syntaxes:
Q = polyint(P)
Q = polyint(P, Const)
where
* P and Q are arrays (from scalars to hypermatrices) of polynomials with real or complex coefficients.
* Const specifies integration constants (real or complex numbers). It is either
* a scalar: then only the first antiderivatives are computed, with the same Const integration constant.
By default 0 is used.
* an array of size size(P): then only the first antiderivatives are computed.
Const(i) is used for Q(i).
* a list possibly mixing scalars, arrays of size size(P), and undefined elements (valued as 0).
Then the length(Const)^th antiderivatives are computed.
For the first integration, Const(1) is used as integration constant(s).
...
For the k^th integration, Const(k) is used as integration constant(s).