Package net.algart.matrices
Class Abstract2DProcessor
java.lang.Object
net.algart.matrices.Abstract2DProcessor
- Direct Known Subclasses:
AbstractQuickFilter3x3
,ContainingMainBoundaryFinder
,Quick2DAverager
-
Constructor Summary
ModifierConstructorDescriptionprotected
Abstract2DProcessor
(Class<?> elementType, long[] dimensions) protected
Abstract2DProcessor
(Class<?> elementType, long[] dimensions, int maxDimX) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkCompatibility
(Matrix<? extends PArray> matrix) int
dimX()
long
dimY()
Class<?>
long
long
nextLineOffset
(long offset) long
previousLineOffset
(long offset) static int
rem
(int index, int dim) static long
rem
(long index, long dim)
-
Constructor Details
-
Abstract2DProcessor
-
Abstract2DProcessor
-
-
Method Details
-
elementType
-
dimX
public int dimX() -
dimY
public long dimY() -
matrixSize
public long matrixSize() -
checkCompatibility
-
previousLineOffset
public long previousLineOffset(long offset) -
nextLineOffset
public long nextLineOffset(long offset) -
rem
public static long rem(long index, long dim) -
rem
public static int rem(int index, int dim)
-