E
- C
- public class OngoingInterpolation<E,C>
extends java.lang.Object
Constructor and Description |
---|
OngoingInterpolation(C slicePosition,
Tensor<E> tensor,
java.lang.Class<C> dimension) |
Modifier and Type | Method and Description |
---|---|
Tensor<E> |
interpolatingWith(InterpolationStrategy<C,E> strategy)
Defines the interpolation strategy.
|
Tensor<E> |
withLinearInterpolation(ExtendedField<E> field,
java.util.function.Function<C,E> fieldMapper)
Uses a linear interpolation
|
public Tensor<E> interpolatingWith(InterpolationStrategy<C,E> strategy)
AbstractInterpolationStrategy
and its extension.strategy
- to usepublic Tensor<E> withLinearInterpolation(ExtendedField<E> field, java.util.function.Function<C,E> fieldMapper)
field
- the field to interpolate in (values of the tensor)fieldMapper
- a mapper from coordinates to field elements