Interface CubicHermite.Tangent
-
- All Known Implementing Classes:
CubicHermite.Tangents
- Enclosing class:
- CubicHermite
public static interface CubicHermite.TangentThe method for computing the control tangent at a given index. A variety of methods exist, which will affect the shape and properties of the interpolated function (such as preserving monotonicity).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubletangentAt(SortedOrderedPairs pairs, int k)Compute the tangent at the given index k, from the given collection of points.
-
-
-
Method Detail
-
tangentAt
double tangentAt(SortedOrderedPairs pairs, int k)
Compute the tangent at the given index k, from the given collection of points.- Parameters:
pairs- the points from which the tangent is computedk- the point index at which the tangent is computed- Returns:
- the tangent at the k-th point
-
-