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?)
istrue
ifp
has a zero forx
between a andb
,false
otherwise, “failed” if this cannot be determined. Check for a andb
inclusive if incl? istrue
, exclusive otherwise.
- checkForZero: (SparseUnivariatePolynomial F, OrderedCompletion F, OrderedCompletion F, Boolean) -> Union(Boolean, failed)
checkForZero(p, a, b, incl?)
istrue
ifp
has a zero between a andb
,false
otherwise, “failed” if this cannot be determined. Check for a andb
inclusive 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 off
forx
between a andb
, assuming thatg
is an indefinite integral off
andf
has no pole between a andb
. Ifeval?
istrue
, theng
can be evaluated safely ata
andb
, provided that they are finite values. Otherwise, limits must be computed.