numapprox[chebpade] - compute a Chebyshev-Pade approximation
|
Calling Sequence
|
|
chebpade(f, x=a..b, [m, n])
chebpade(f, x, [m, n])
chebpade(f, a..b, [m, n])
|
|
Parameters
|
|
f
|
-
|
procedure or expression representing the function to be approximated
|
x
|
-
|
the variable appearing in f, if f is an expression
|
a, b
|
-
|
numerical values specifying the interval of approximation
|
m, n
|
-
|
desired degree of numerator and denominator, respectively
|
|
|
|
|
Description
|
|
•
|
The function chebpade computes a Chebyshev-Pade approximation of degree for the function f.
|
•
|
If or if the third argument is simply an integer m then the Chebyshev series of degree m is computed.
|
•
|
The method used is based on transforming the Chebyshev series to a power series with the same coefficients, computing a Pade approximation for the power series, and then converting back to the appropriate Chebyshev-Pade approximation.
|
•
|
Note that for the purpose of evaluating a rational function efficiently (i.e. minimizing the number of arithmetic operations), the rational function should be converted to a continued-fraction form. See numapprox[confracform].
|
•
|
Various levels of user information will be displayed during the computation if infolevel[chebpade] is assigned values between 1 and 3.
|
•
|
The command with(numapprox,chebpade) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
Check agreement of the Chebyshev series to 7 digits of accuracy.
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
|
|
References
|
|
|
Geddes, K.O. "Block Structure in the Chebyshev-Pade Table." SIAM J. Numer. Anal., Vol. 18(5). (Oct. 1981): 844-861.
|
|
|