V
- the type of the values of the tensoric objectsC
- the type of the coordinates to resamplepublic class ResamplingStage<V,C> extends java.lang.Object implements Tensoric<V>
Constructor and Description |
---|
ResamplingStage(Shape supportingShape,
Tensoric<V> previousStage,
SingleDimensionResampler<C,V> resampler,
java.lang.Class<C> dimension)
Constructs a new resampling stage, derived from a previous stage by using a resampler and a dimension.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Position position)
Returns
true if the tensoric object contains the given position, false otherwise. |
V |
get(Position position) |
public ResamplingStage(Shape supportingShape, Tensoric<V> previousStage, SingleDimensionResampler<C,V> resampler, java.lang.Class<C> dimension)
supportingShape
- the shape of the original tensor. This is passed on through all the stages, as the
supporting points have to be extracted from it during each stage.previousStage
- the stage, representing the previous resampling (or the original tensor)resampler
- the resampler to use for the given dimensiondimension
- the the dimension which is resampled by this stage