A class for exponential power serieses, whose n-th term has form:
a_n * x ** n / n!
Construct an exponential power series with coefficient generated by the given iterator, which can be an infinite iterator.
Generator of terms of series with assigned x value.
Return the value of the series with x assigned. The maximum error maxerror must be given as a RelativeError or AbsoluteError instance.
>>> expo = ExponentialPowerSeries(itertools.cycle([1])) >>> expo(.5, defaultError) Rational(535040642153489032107802235203519, 324518553658426726783156020576256)