C
- the coordinate typeV
- the value typepublic class LinearInterpolation<C,V> extends AbstractInterpolationStrategy<C,V>
Constructor and Description |
---|
LinearInterpolation(ExtendedField<V> field,
java.util.function.Function<C,V> fieldMapper) |
Modifier and Type | Method and Description |
---|---|
V |
getInterpolatedValue(Tensor<V> tensorWithTheOnlyOneCoordinateOfC,
C coordinateToInterpolate)
Returns interpolated value for coordinate C.
|
findIndex, getOrderedListOfComparableCoordinate
public LinearInterpolation(ExtendedField<V> field, java.util.function.Function<C,V> fieldMapper)
public V getInterpolatedValue(Tensor<V> tensorWithTheOnlyOneCoordinateOfC, C coordinateToInterpolate)
InterpolationStrategy
tensorWithTheOnlyOneCoordinateOfC
- the tensor where only C coordinates are kept