BarycentricBasis.FloaterHormann Method

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

FloaterHormann(Vector<Double>, Int32) Constructs a new barycentric basis for Floater-Hormann rational interpolation of the specified order through the specified support points.
FloaterHormann(Double, Double, Int32, Int32) Constructs a new barycentric basis for Floater-Hormann rational interpolation through a set of equidistant support points.

FloaterHormann(Vector<Double>, Int32)

Constructs a new barycentric basis for Floater-Hormann rational interpolation of the specified order through the specified support points.
C#
public static BarycentricBasis FloaterHormann(
	Vector<double> supportPoints,
	int order
)

Parameters

supportPoints  Vector<Double>
A vector containing the support points of the basis. The points must be in ascending order.
order  Int32
The order or blending parameter of the basis.

Return Value

BarycentricBasis
A barycentric basis.

Exceptions

ArgumentNullException

supportPoints is null.

ArgumentOutOfRangeException

order is less than zero.

ArgumentException

supportPoints has zero length.

-or-

The elements of supportPoints are not in ascending order.

-or-

order is greater than or equal to the length of supportPoints.

FloaterHormann(Double, Double, Int32, Int32)

Constructs a new barycentric basis for Floater-Hormann rational interpolation through a set of equidistant support points.
C#
public static BarycentricBasis FloaterHormann(
	double lowerBound,
	double upperBound,
	int length,
	int order
)

Parameters

lowerBound  Double
The lower bound of the interval.
upperBound  Double
The upper bound of the interval.
length  Int32
The number of points.
order  Int32
The order or blending parameter of the basis.

Return Value

BarycentricBasis
A barycentric basis.

Remarks

If length is one, then the basis consists of a constant term at the centre of the interval.

Exceptions

ArgumentOutOfRangeException

length is less than or equal to zero.

-or-

order is less than zero or greater than or equal to length.

See Also