DefiniteIntegrationTools(R, F)¶
defintrf.spad line 1 [edit on github]
R: Join(GcdDomain, Comparable, RetractableTo Integer, LinearlyExplicitOver Integer)
F: Join(TranscendentalFunctionCategory, AlgebraicallyClosedField, FunctionSpace R)
DefiniteIntegrationTools provides common tools used by the definite integration of both rational and elementary functions.
- checkForZero: (Polynomial R, Symbol, OrderedCompletion F, OrderedCompletion F, Boolean) -> Union(Boolean, failed)
checkForZero(p, x, a, b, incl?)istrueifphas a zero forxbetween a andb,falseotherwise, “failed” if this cannot be determined. Check for a andbinclusive if incl? istrue, exclusive otherwise.
- checkForZero: (SparseUnivariatePolynomial F, OrderedCompletion F, OrderedCompletion F, Boolean) -> Union(Boolean, failed)
checkForZero(p, a, b, incl?)istrueifphas a zero between a andb,falseotherwise, “failed” if this cannot be determined. Check for a andbinclusive if incl? istrue, exclusive otherwise.
- computeInt: (Kernel F, F, OrderedCompletion F, OrderedCompletion F, Boolean) -> Union(OrderedCompletion F, failed)
computeInt(x, g, a, b, eval?)returns the integral offforxbetween a andb, assuming thatgis an indefinite integral offandfhas no pole between a andb. Ifeval?istrue, thengcan be evaluated safely ataandb, provided that they are finite values. Otherwise, limits must be computed.