Package net.algart.matrices.stitching
Class Stitcher<P extends FramePosition>
java.lang.Object
net.algart.matrices.stitching.Stitcher<P>
-
Method Summary
Modifier and TypeMethodDescriptionactualFrames
(RectangularArea area) asStitched
(Class<? extends T> requiredType, RectangularArea area) cloneIntoJavaMemory
(ArrayContext context) static <P extends FramePosition>
List<Frame<P>>cloneIntoJavaMemory
(ArrayContext arrayContext, List<Frame<P>> frames, boolean freeSourceResources) static <P extends FramePosition>
Frame<P>cloneIntoJavaMemory
(ArrayContext arrayContext, Frame<P> frame) final int
dimCount()
frames()
void
static <P extends FramePosition>
Stitcher<P>getInstance
(int dimCount, StitchingMethod<P> stitchingMethod, List<? extends Frame<P>> frames) static <P extends FramePosition>
booleanintegerOffsets
(List<Frame<P>> frames, Point offset) boolean
static <P extends FramePosition>
booleanshiftPositions
(List<Frame<P>> frames) static <P extends FramePosition>
doublesizeOfFrames
(List<Frame<P>> frames) void
stitch
(ArrayContext context, Matrix<? extends UpdatablePArray> result, Point offset, long... tileDimensions) final StitchingMethod<P>
toString()
-
Method Details
-
getInstance
public static <P extends FramePosition> Stitcher<P> getInstance(int dimCount, StitchingMethod<P> stitchingMethod, List<? extends Frame<P>> frames) -
dimCount
public final int dimCount() -
stitchingMethod
-
frames
-
frames
-
actualFrames
-
asStitched
public <T extends PArray> Matrix<T> asStitched(Class<? extends T> requiredType, RectangularArea area) -
stitch
public void stitch(ArrayContext context, Matrix<? extends UpdatablePArray> result, Point offset, long... tileDimensions) -
cloneIntoJavaMemory
-
freeResources
public void freeResources() -
quickStitching
-
toString
-
integerOffsets
-
shiftPositions
-
sizeOfFrames
-
cloneIntoJavaMemory
public static <P extends FramePosition> List<Frame<P>> cloneIntoJavaMemory(ArrayContext arrayContext, List<Frame<P>> frames, boolean freeSourceResources) -
cloneIntoJavaMemory
public static <P extends FramePosition> Frame<P> cloneIntoJavaMemory(ArrayContext arrayContext, Frame<P> frame)
-