RationalFunctionDefiniteIntegration R¶
defintrf.spad line 259 [edit on github]
R: Join(EuclideanDomain, Comparable, CharacteristicZero, RetractableTo Integer, LinearlyExplicitOver Integer)
RationalFunctionDefiniteIntegration provides functions to compute definite integrals of rational functions.
- integrate: (Fraction Polynomial R, SegmentBinding OrderedCompletion Expression R) -> Union(f1: OrderedCompletion Expression R, f2: List OrderedCompletion Expression R, fail: failed, pole: potentialPole)
integrate(f, x = a..b)
returns the integral off(x)dx
from a tob
. Error: iff
has a pole forx
between a andb
.
- integrate: (Fraction Polynomial R, SegmentBinding OrderedCompletion Expression R, String) -> Union(f1: OrderedCompletion Expression R, f2: List OrderedCompletion Expression R, fail: failed, pole: potentialPole)
integrate(f, x = a..b, "noPole")
returns the integral off(x)dx
from a tob
. If it is not possible to check whetherf
has a pole forx
between a andb
(because of parameters), then this function will assume thatf
has no such pole. Error: iff
has a pole forx
between a andb
or if the last argument is not “noPole”.
- integrate: (Fraction Polynomial R, SegmentBinding OrderedCompletion Fraction Polynomial R) -> Union(f1: OrderedCompletion Expression R, f2: List OrderedCompletion Expression R, fail: failed, pole: potentialPole)
integrate(f, x = a..b)
returns the integral off(x)dx
from a tob
. Error: iff
has a pole forx
between a andb
.
- integrate: (Fraction Polynomial R, SegmentBinding OrderedCompletion Fraction Polynomial R, String) -> Union(f1: OrderedCompletion Expression R, f2: List OrderedCompletion Expression R, fail: failed, pole: potentialPole)
integrate(f, x = a..b, "noPole")
returns the integral off(x)dx
from a tob
. If it is not possible to check whetherf
has a pole forx
between a andb
(because of parameters), then this function will assume thatf
has no such pole. Error: iff
has a pole forx
between a andb
or if the last argument is not “noPole”.