Barycentric Basis.Floater Hormann Method
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Floater | Constructs a new barycentric basis for Floater-Hormann rational interpolation of the specified order through the specified support points. |
Floater | 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.
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
BarycentricBasisA barycentric basis.
Exceptions
Argument | supportPoints is null. |
Argument | order is less than zero. |
Argument | 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.
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
BarycentricBasisA barycentric basis.
Remarks
If length is one, then the
basis consists of a constant term at the centre of the interval.
Exceptions
Argument | length is less than or equal to zero. -or- order is less than zero or greater than or equal to length. |