PadeApproximantPackage(R, x, pt)ΒΆ
pade.spad line 1 [edit on github]
This package computes reliable Pade approximants using a generalized Viskovatov continued fraction algorithm.
- pade: (NonNegativeInteger, NonNegativeInteger, UnivariateTaylorSeries(R, x, pt)) -> Union(Fraction UnivariatePolynomial(x, R), failed)
pade(nd, dd, s)computes the quotient of polynomials (if it exists) with numerator degree at mostndand denominator degree at mostddwhich matches the seriessto ordernd + dd.
- pade: (NonNegativeInteger, NonNegativeInteger, UnivariateTaylorSeries(R, x, pt), UnivariateTaylorSeries(R, x, pt)) -> Union(Fraction UnivariatePolynomial(x, R), failed)
pade(nd, dd, ns, ds)computes the approximant as a quotient of polynomials (if it exists) for argumentsnd(numerator degree of approximant),dd(denominator degree of approximant),ns(numerator series of function), andds(denominator series of function).