|
Calling Sequence
|
|
ThieleInterpolation(xydata, v)
ThieleInterpolation(xdata, ydata, v)
|
|
Parameters
|
|
xydata
|
-
|
list, Array, DataFrame, or Matrix of the form [[x1,y1], [x2,y2], ..., [xn,yn]]; data points
|
xdata
|
-
|
list, Array, DataSeries, or Vector of the form [x1, x2, ..., xn]; independent values
|
ydata
|
-
|
list, Array, DataSeries, or Vector of the form [y1, y2, ..., yn]; dependent values
|
v
|
-
|
name or numeric value
|
|
|
|
|
Description
|
|
•
|
The ThieleInterpolation routine returns the rational function in continued fraction form in variable v that interpolates the points . If v is a numerical value, then the value of the function at this point is returned. When n is odd, the numerator and denominator polynomials have degree . When n is even, the numerator has degree and the denominator has degree .
|
•
|
The ThieleInterpolation routine can be called in two ways.
|
|
The first form accepts a list, Array, or Matrix, , of data points.
|
|
The second form accepts the input data as two lists, two Arrays, or two Vectors. In this form, the first set of data contains the independent values, , and the second set of data contains the dependent values, . Each element must be of type algebraic. All the independent values must be distinct.
|
•
|
In certain situations, the algorithm for computing the Thiele interpolating function produces a denominator of zero. For example, a division-by-zero error is produced when two successive points have the same dependent value or when three successive points are collinear. In such cases, perturbing the data points slightly may eliminate the problem.
|
•
|
This function is part of the CurveFitting package, and so it can be used in the form ThieleInterpolation(..) only after executing the command with(CurveFitting). However, it can always be accessed through the long form of the command by using CurveFitting[ThieleInterpolation](..).
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
|
|
|