BarycentricSeries.GetFloaterHormannInterpolator Method

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0

Overload List

GetFloaterHormannInterpolator(Double[], Double[], Int32) Constructs the Floater-Hormann rational interpolant through a set of points.
GetFloaterHormannInterpolator(Vector<Double>, Vector<Double>, Int32) Constructs a Floater-Hormann interpolating rational function through a set of points.
GetFloaterHormannInterpolator(Func<Double, Double>, Double, Double, Int32, Int32) Constructs the Floater-Hormann rational interpolant for the given function over equidistant nodes.

GetFloaterHormannInterpolator(Double[], Double[], Int32)

Constructs the Floater-Hormann rational interpolant through a set of points.
C#
public static BarycentricSeries GetFloaterHormannInterpolator(
	double[] xValues,
	double[] yValues,
	int order
)

Parameters

xValues  Double[]
The x-coordinates of the interpolation points.
yValues  Double[]
The y-coordinates of the interpolation points.
order  Int32
The blending order (must be less than the number of points).

Return Value

BarycentricSeries
A BarycentricSeries using the Floater-Hormann basis.

Exceptions

ArgumentNullExceptionxValues or yValues is null.
DimensionMismatchException The lengths of xValues and yValues do not match.
ArgumentOutOfRangeExceptionorder is less than 1 or greater than or equal to the number of points.

GetFloaterHormannInterpolator(Vector<Double>, Vector<Double>, Int32)

Constructs a Floater-Hormann interpolating rational function through a set of points.
C#
public static BarycentricSeries GetFloaterHormannInterpolator(
	Vector<double> xValues,
	Vector<double> yValues,
	int order
)

Parameters

xValues  Vector<Double>
A vector containing the x-coordinates of the interpolation points. The elements of this array must be distinct.
yValues  Vector<Double>
A vector containing the y-coordinates of the interpolation points.
order  Int32
The order or blending parameter of the Floater-Hormann basis.

Return Value

BarycentricSeries
The interpolating BarycentricSeries for the specified points.

Exceptions

ArgumentNullException

xValues is null.

-or-

yValues is null.

DimensionMismatchException

The arrays xValues and yValues have different lengths.

ArgumentOutOfRangeException

order is less than zero or greater than or equal to the length of xValues and yValues.

GetFloaterHormannInterpolator(Func<Double, Double>, Double, Double, Int32, Int32)

Constructs the Floater-Hormann rational interpolant for the given function over equidistant nodes.
C#
public static BarycentricSeries GetFloaterHormannInterpolator(
	Func<double, double> function,
	double lowerBound,
	double upperBound,
	int length,
	int order
)

Parameters

function  Func<Double, Double>
The function to interpolate.
lowerBound  Double
The lower bound of the interval.
upperBound  Double
The upper bound of the interval.
length  Int32
The number of nodes.
order  Int32
The blending order.

Return Value

BarycentricSeries
A BarycentricSeries using the Floater-Hormann basis.

Exceptions

ArgumentNullExceptionfunction is null.
ArgumentOutOfRangeExceptionlength is less than 1, or order is less than 1 or greater than or equal to length.

See Also